pub trait Complete: Sized {
type Output;
// Required methods
fn opened(self, result: Result<OwnedFd, Errno>) -> Self::Output;
fn write(self, result: Result<U32<0, { _ }>, Errno>) -> Self::Output;
fn sync(self, result: Result<(), Errno>) -> Self::Output;
}Expand description
Consumes completion authority with the exact native file result.
Required Associated Types§
Required Methods§
fn opened(self, result: Result<OwnedFd, Errno>) -> Self::Output
fn write(self, result: Result<U32<0, { _ }>, Errno>) -> Self::Output
fn sync(self, result: Result<(), Errno>) -> Self::Output
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".