pub trait Session: Close<State: Unmap> + Sized {
type Ring;
type Layout: Canary;
type Owned;
type Probe: Copy;
type Outcome: Outcome<Probe = Self::Probe>;
type Error;
type Pending: Pending<Session = Self>;
// Required method
fn submit(
self,
entry: &Self::Owned,
probe: Self::Probe,
) -> Result<Self::Pending, Stopped<Self, Cause<<Self as Session>::Probe, <<Self as Session>::Outcome as Outcome>::Observation, <Self as Session>::Error>>>;
}Expand description
An idle capability session owns its canary mappings and fixed-file state.
Required Associated Types§
type Ring
type Layout: Canary
type Owned
type Probe: Copy
type Outcome: Outcome<Probe = Self::Probe>
type Error
type Pending: Pending<Session = Self>
Required Methods§
fn submit( self, entry: &Self::Owned, probe: Self::Probe, ) -> Result<Self::Pending, Stopped<Self, Cause<<Self as Session>::Probe, <<Self as Session>::Outcome as Outcome>::Observation, <Self as Session>::Error>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".