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§
Sourcefn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<usize>>>
fn next_dyn(&mut self) -> BoxedFuture<'_, Result<Option<usize>>>
The dyn version of Copy::next.
Sourcefn close_dyn(&mut self) -> BoxedFuture<'_, Result<Metadata>>
fn close_dyn(&mut self) -> BoxedFuture<'_, Result<Metadata>>
The dyn version of Copy::close.
Sourcefn abort_dyn(&mut self) -> BoxedFuture<'_, Result<()>>
fn abort_dyn(&mut self) -> BoxedFuture<'_, Result<()>>
The dyn version of Copy::abort.