pub struct StaticBlockDeviceResolver;Expand description
A static resolver for [BlockDeviceDiskHandle] that does not use a
shared [BounceBufferTracker]. Bounce buffers are allocated on demand
without rate limiting.
Trait Implementations§
Source§impl AsyncResolveResource<DiskHandleKind, BlockDeviceDiskHandle> for StaticBlockDeviceResolver
impl AsyncResolveResource<DiskHandleKind, BlockDeviceDiskHandle> for StaticBlockDeviceResolver
Source§type Error = ResolveDiskError
type Error = ResolveDiskError
The error type for
resolve.Source§fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_resolver: &'life1 ResourceResolver,
rsrc: BlockDeviceDiskHandle,
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,
rsrc: BlockDeviceDiskHandle,
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 StaticBlockDeviceResolver
impl RefUnwindSafe for StaticBlockDeviceResolver
impl Send for StaticBlockDeviceResolver
impl Sync for StaticBlockDeviceResolver
impl Unpin for StaticBlockDeviceResolver
impl UnsafeUnpin for StaticBlockDeviceResolver
impl UnwindSafe for StaticBlockDeviceResolver
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