pub struct OpenVmmFramebufferAccess { /* private fields */ }Expand description
Interface to the OpenVMM framebuffer
Trait Implementations§
Source§impl PetriVmFramebufferAccess for OpenVmmFramebufferAccess
impl PetriVmFramebufferAccess for OpenVmmFramebufferAccess
Source§fn screenshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
image: &'life1 mut Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<VmScreenshotMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn screenshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
image: &'life1 mut Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<VmScreenshotMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Populates the provided buffer with a screenshot of the VM,
returning the dimensions and color type.
Auto Trait Implementations§
impl Freeze for OpenVmmFramebufferAccess
impl !RefUnwindSafe for OpenVmmFramebufferAccess
impl Send for OpenVmmFramebufferAccess
impl Sync for OpenVmmFramebufferAccess
impl Unpin for OpenVmmFramebufferAccess
impl !UnwindSafe for OpenVmmFramebufferAccess
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