pub trait Close<'d>: Sized {
type Context: Context;
// Required methods
fn new(close: &<Self::Context as Context>::Close<'d>) -> Self;
fn retire(retire: &<Self::Context as Context>::Retire<'d>) -> Self;
fn raw(self) -> u64;
fn decode(raw: u64) -> Option<<Self::Context as Context>::Returned>;
}Expand description
Affine close encoding retaining the descriptor domain lifetime.
Required Associated Types§
Required Methods§
fn new(close: &<Self::Context as Context>::Close<'d>) -> Self
fn retire(retire: &<Self::Context as Context>::Retire<'d>) -> Self
fn raw(self) -> u64
fn decode(raw: u64) -> Option<<Self::Context as Context>::Returned>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".