pub struct VhostUserConsoleDevice {
console: ConsoleDevice,
raw_stdin: bool,
}Expand description
Console device for use with vhost-user. Will set stdin back to canon mode if we are getting input from it.
Fields§
§console: ConsoleDevice§raw_stdin: boolWhether we should set stdin to raw mode because we are getting user input from there.
Trait Implementations§
Source§impl Drop for VhostUserConsoleDevice
impl Drop for VhostUserConsoleDevice
Auto Trait Implementations§
impl Freeze for VhostUserConsoleDevice
impl !RefUnwindSafe for VhostUserConsoleDevice
impl Send for VhostUserConsoleDevice
impl !Sync for VhostUserConsoleDevice
impl Unpin for VhostUserConsoleDevice
impl !UnwindSafe for VhostUserConsoleDevice
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