CopyDyn

Trait CopyDyn 

Source
pub trait CopyDyn:
    Unpin
    + Send
    + Sync {
    // Required methods
    fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<usize>>>;
    fn close_dyn(&mut self) -> BoxedFuture<'_, Result<Metadata>>;
    fn abort_dyn(&mut self) -> BoxedFuture<'_, Result<()>>;
}
Expand description

CopyDyn is the dyn version of Copy.

Required Methods§

Source

fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<usize>>>

The dyn version of Copy::next.

Source

fn close_dyn(&mut self) -> BoxedFuture<'_, Result<Metadata>>

The dyn version of Copy::close.

Source

fn abort_dyn(&mut self) -> BoxedFuture<'_, Result<()>>

The dyn version of Copy::abort.

Implementors§

Source§

impl<T: Copy + ?Sized> CopyDyn for T