pub struct CapSet<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool>;Expand description
Type-level capability set: [SPAWN, TIME, RANDOM, IO, REMOTE].
Trait Implementations§
Source§impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Clone for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Clone for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
Source§impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Debug for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Debug for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
Source§impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Default for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Default for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Copy for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const REMOTE: bool> HasIo for CapSet<SPAWN, TIME, RANDOM, true, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const IO: bool, const REMOTE: bool> HasRandom for CapSet<SPAWN, TIME, true, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool> HasRemote for CapSet<SPAWN, TIME, RANDOM, IO, true>
impl<const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> HasSpawn for CapSet<true, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> HasTime for CapSet<SPAWN, true, RANDOM, IO, REMOTE>
impl<const S_SPAWN: bool, const S_TIME: bool, const S_RANDOM: bool, const S_IO: bool, const S_REMOTE: bool, const P_SPAWN: bool, const P_TIME: bool, const P_RANDOM: bool, const P_IO: bool, const P_REMOTE: bool> SubsetOf<CapSet<P_SPAWN, P_TIME, P_RANDOM, P_IO, P_REMOTE>> for CapSet<S_SPAWN, S_TIME, S_RANDOM, S_IO, S_REMOTE>where
(Bit<S_SPAWN>, Bit<P_SPAWN>): Le,
(Bit<S_TIME>, Bit<P_TIME>): Le,
(Bit<S_RANDOM>, Bit<P_RANDOM>): Le,
(Bit<S_IO>, Bit<P_IO>): Le,
(Bit<S_REMOTE>, Bit<P_REMOTE>): Le,
Auto Trait Implementations§
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Freeze for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> RefUnwindSafe for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Send for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Sync for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> Unpin for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> UnsafeUnpin for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
impl<const SPAWN: bool, const TIME: bool, const RANDOM: bool, const IO: bool, const REMOTE: bool> UnwindSafe for CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).