Struct vmw_backdoor::EnhancedChan [−][src]
pub struct EnhancedChan<'a> { /* fields omitted */ }
Channel for enhanced-RPC transfers.
This can be acquired via BackdoorGuard::open_enhanced_chan
.
Implementations
impl<'a> EnhancedChan<'a>
[src]
pub fn open(guard: &'a mut BackdoorGuard) -> Result<Self, VmwError>
[src]
Open an enhanced-RPC channel.
pub fn close(self) -> Result<(), Self>
[src]
Close the channel.
On error, this returns back the channel.
pub fn get_guestinfo(&mut self, key: &[u8]) -> Result<Option<Vec<u8>>, VmwError>
[src]
Retrieve a guestinfo property.
pub fn log(&mut self, msg: &str) -> Result<(), VmwError>
[src]
Log a message.
pub fn report_agent(&mut self) -> Result<(), VmwError>
[src]
Report agent (unmanaged) type.
Trait Implementations
impl<'a> Debug for EnhancedChan<'a>
[src]
impl<'a> Drop for EnhancedChan<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for EnhancedChan<'a>
impl<'a> Send for EnhancedChan<'a>
impl<'a> Sync for EnhancedChan<'a>
impl<'a> Unpin for EnhancedChan<'a>
impl<'a> !UnwindSafe for EnhancedChan<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,