pub struct VmoBackedServerOptions<'a> {
pub info: DeviceInfo,
pub block_size: u32,
pub initial_contents: InitialContents<'a>,
pub observer: Option<Box<dyn Observer>>,
}
Fields§
§info: DeviceInfo
NB: block_count
is ignored as that comes from initial_contents
.
block_size: u32
§initial_contents: InitialContents<'a>
§observer: Option<Box<dyn Observer>>
Implementations§
Source§impl VmoBackedServerOptions<'_>
impl VmoBackedServerOptions<'_>
pub fn build(self) -> Result<VmoBackedServer, Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for VmoBackedServerOptions<'a>
impl<'a> !RefUnwindSafe for VmoBackedServerOptions<'a>
impl<'a> Send for VmoBackedServerOptions<'a>
impl<'a> Sync for VmoBackedServerOptions<'a>
impl<'a> Unpin for VmoBackedServerOptions<'a>
impl<'a> !UnwindSafe for VmoBackedServerOptions<'a>
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