pub trait Retire<'d, V: View> {
type Output: IntoIterator;
// Required method
fn retire<'a>(
&'a mut self,
pending: Kind<V::Close, V::Retire>,
view: V,
) -> Poll<Self::Output>
where 'd: 'a;
// Provided methods
fn submit<'a, P, R>(
&'a mut self,
pending: P,
view: V,
report: &mut R,
) -> Poll<()>
where P: Into<Kind<V::Close, V::Retire>>,
R: Report,
R::Event: From<<Self::Output as IntoIterator>::Item>,
'd: 'a { ... }
fn drain<'a, R>(
&'a mut self,
view: V,
pending: Option<<V as Queue>::Pending>,
report: &mut R,
)
where V: Queue,
R: Report,
R::Event: From<<Self::Output as IntoIterator>::Item>,
'd: 'a { ... }
}Expand description
Retires one affine descriptor transaction before advancing its host domain.
Required Associated Types§
type Output: IntoIterator
Required Methods§
fn retire<'a>(
&'a mut self,
pending: Kind<V::Close, V::Retire>,
view: V,
) -> Poll<Self::Output>where
'd: 'a,
Provided Methods§
fn submit<'a, P, R>( &'a mut self, pending: P, view: V, report: &mut R, ) -> Poll<()>
fn drain<'a, R>( &'a mut self, view: V, pending: Option<<V as Queue>::Pending>, report: &mut R, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".