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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.