pub struct BootConsoleState { /* private fields */ }Expand description
Buffered console input retained across the bootstrap and init handshakes.
A single device read may contain multiple frames, so boot phases must share this buffer instead of dropping bytes after decoding their expected frame.
Trait Implementations§
Source§impl Default for BootConsoleState
impl Default for BootConsoleState
Source§fn default() -> BootConsoleState
fn default() -> BootConsoleState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BootConsoleState
impl RefUnwindSafe for BootConsoleState
impl Send for BootConsoleState
impl Sync for BootConsoleState
impl Unpin for BootConsoleState
impl UnsafeUnpin for BootConsoleState
impl UnwindSafe for BootConsoleState
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