pub trait Access {
type Token;
type Target;
type File: Occupied<Target = Self::Target>;
type Queue<'a>: Queue<'a, Self::Token>
where Self: 'a,
Self::Token: Token;
type Enter<'a>: Enter
where Self: 'a;
type Registry<'a>: Registry<Token = Self::Token, Target = Self::Target, File = Self::File>
where Self: 'a;
// Required methods
fn sq(&mut self) -> Self::Queue<'_>
where Self::Token: Token;
fn enter(&mut self) -> Self::Enter<'_>;
fn registry(&mut self) -> Self::Registry<'_>;
}Expand description
Exclusive queue and registration views borrow the same native owner.
Required Associated Types§
type Token
type Target
type File: Occupied<Target = Self::Target>
type Queue<'a>: Queue<'a, Self::Token>
type Enter<'a>: Enterwhere
Self: 'a,
type Registry<'a>: Registry<Token = Self::Token, Target = Self::Target, File = Self::File>where
Self: 'a,
Required Methods§
fn sq(&mut self) -> Self::Queue<'_>
fn enter(&mut self) -> Self::Enter<'_>
fn registry(&mut self) -> Self::Registry<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".