pub struct VirtioNetResolver;
Expand description
Resolver for virtio-pmem devices.
Trait Implementations§
Source§impl AsyncResolveResource<VirtioDeviceHandle, VirtioNetHandle> for VirtioNetResolver
impl AsyncResolveResource<VirtioDeviceHandle, VirtioNetHandle> for VirtioNetResolver
Source§type Output = ResolvedVirtioDevice
type Output = ResolvedVirtioDevice
The output type for resource resolution.
Source§fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
resolver: &'life1 ResourceResolver,
resource: VirtioNetHandle,
input: VirtioResolveInput<'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: VirtioNetHandle,
input: VirtioResolveInput<'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 VirtioNetResolver
impl RefUnwindSafe for VirtioNetResolver
impl Send for VirtioNetResolver
impl Sync for VirtioNetResolver
impl Unpin for VirtioNetResolver
impl UnwindSafe for VirtioNetResolver
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