pub struct VirtioConsoleSerialPort { /* private fields */ }Implementations§
Source§impl VirtioConsoleSerialPort
impl VirtioConsoleSerialPort
pub fn new() -> Self
pub fn new_with_attachment(attachment: &FileHandleSerialAttachment) -> Self
pub fn set_attachment(&mut self, attachment: &FileHandleSerialAttachment)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtioConsoleSerialPort
impl RefUnwindSafe for VirtioConsoleSerialPort
impl Send for VirtioConsoleSerialPort
impl Sync for VirtioConsoleSerialPort
impl Unpin for VirtioConsoleSerialPort
impl UnsafeUnpin for VirtioConsoleSerialPort
impl UnwindSafe for VirtioConsoleSerialPort
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