pub trait Finish: Send {
type Error: Error + Send + Sync + 'static;
// Required method
fn finish(self) -> impl Future<Output = Result<(), Self::Error>> + Send;
}
Expand description
Finish the write stream.
Call when all data has been submitted and no further data will be written.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.