Skip to main content

Pending

Trait Pending 

Source
pub trait Pending: Sized {
    type Extent: Extent;
    type Complete;

    // Required method
    fn try_complete(
        self,
        len: <Self::Extent as Extent>::Length,
    ) -> Result<Self::Complete, (Self, <<Self as Pending>::Extent as Extent>::Length, <<Self as Pending>::Extent as Extent>::Capacity)>;
}
Expand description

A selected slot whose completed prefix has not yet been admitted.

Required Associated Types§

Required Methods§

Source

fn try_complete( self, len: <Self::Extent as Extent>::Length, ) -> Result<Self::Complete, (Self, <<Self as Pending>::Extent as Extent>::Length, <<Self as Pending>::Extent as Extent>::Capacity)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§