Struct simics::api::interface::interfaces::TerminalServerInterface
source · pub struct TerminalServerInterface {
obj: *mut ConfObject,
interface: *mut terminal_server_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut terminal_server_interface
Implementations§
source§impl TerminalServerInterface
impl TerminalServerInterface
sourcepub fn write(&mut self, str_: *const c_char) -> Result<()>
pub fn write(&mut self, str_: *const c_char) -> Result<()>
Automatically generated method for the interface
sourcepub fn set_size(&mut self, left: c_int, right: c_int) -> Result<()>
pub fn set_size(&mut self, left: c_int, right: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn disconnect(&mut self) -> Result<()>
pub fn disconnect(&mut self) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for TerminalServerInterface
impl Interface for TerminalServerInterface
source§const NAME: &'static [u8] = crate::api::sys::TERMINAL_SERVER_INTERFACE
const NAME: &'static [u8] = crate::api::sys::TERMINAL_SERVER_INTERFACE
The name of the interface
source§type InternalInterface = terminal_server_interface
type InternalInterface = terminal_server_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for TerminalServerInterface
impl RefUnwindSafe for TerminalServerInterface
impl !Send for TerminalServerInterface
impl !Sync for TerminalServerInterface
impl Unpin for TerminalServerInterface
impl UnwindSafe for TerminalServerInterface
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