pub struct FlatVmdkResolver;Expand description
Converts transported [FlatVmdkDiskHandle] resources into read-only disks.
The resolver revalidates every source handle and extent before exposing the disk in the VM worker.
Trait Implementations§
Source§impl AsyncResolveResource<DiskHandleKind, FlatVmdkDiskHandle> for FlatVmdkResolver
impl AsyncResolveResource<DiskHandleKind, FlatVmdkDiskHandle> for FlatVmdkResolver
Source§type Error = ResolveFlatVmdkError
type Error = ResolveFlatVmdkError
The error type for
resolve.Source§fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_resolver: &'life1 ResourceResolver,
resource: FlatVmdkDiskHandle,
input: ResolveDiskParameters<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_resolver: &'life1 ResourceResolver,
resource: FlatVmdkDiskHandle,
input: ResolveDiskParameters<'life2>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Resolves the resource. Read more
Auto Trait Implementations§
impl Freeze for FlatVmdkResolver
impl RefUnwindSafe for FlatVmdkResolver
impl Send for FlatVmdkResolver
impl Sync for FlatVmdkResolver
impl Unpin for FlatVmdkResolver
impl UnsafeUnpin for FlatVmdkResolver
impl UnwindSafe for FlatVmdkResolver
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