pub struct NetworkInit;👎Deprecated: Network init moved to post-EBS. Use bare_metal_main() instead.
Expand description
Network initialization orchestrator (DEPRECATED).
Network initialization is now handled post-ExitBootServices by
morpheus_network::mainloop::bare_metal_main().
Implementations§
Source§impl NetworkInit
impl NetworkInit
Sourcepub fn initialize(
_config: &InitConfig,
_get_time_ms: fn() -> u64,
) -> NetInitResult<NetworkInitResult>
👎Deprecated: Network init moved to post-EBS. Use bare_metal_main() instead.
pub fn initialize( _config: &InitConfig, _get_time_ms: fn() -> u64, ) -> NetInitResult<NetworkInitResult>
Perform complete network initialization (DEPRECATED).
Always returns error - network init is now post-EBS.
Use morpheus_network::mainloop::bare_metal_main() after ExitBootServices.
Sourcepub fn initialize_with_poll<F>(
_config: &InitConfig,
_get_time_ms: fn() -> u64,
_poll_display: F,
) -> NetInitResult<NetworkInitResult>where
F: FnMut(),
👎Deprecated: Network init moved to post-EBS. Use bare_metal_main() instead.
pub fn initialize_with_poll<F>(
_config: &InitConfig,
_get_time_ms: fn() -> u64,
_poll_display: F,
) -> NetInitResult<NetworkInitResult>where
F: FnMut(),
Initialize with display polling (DEPRECATED).
Always returns error - network init is now post-EBS.
Sourcepub fn can_initialize() -> bool
👎Deprecated: Network init moved to post-EBS
pub fn can_initialize() -> bool
Quick check if network initialization is possible (DEPRECATED).
Always returns false - use post-EBS flow instead.
Sourcepub fn init_prerequisites(_config: &InitConfig) -> NetInitResult<()>
👎Deprecated: Network init moved to post-EBS
pub fn init_prerequisites(_config: &InitConfig) -> NetInitResult<()>
Initialize only prerequisites (DEPRECATED).
Always returns error - use post-EBS flow instead.
Auto Trait Implementations§
impl Freeze for NetworkInit
impl RefUnwindSafe for NetworkInit
impl Send for NetworkInit
impl Sync for NetworkInit
impl Unpin for NetworkInit
impl UnwindSafe for NetworkInit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more