pub struct BuiltinEndpointSet(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl BuiltinEndpointSet
impl BuiltinEndpointSet
pub const BUILTIN_ENDPOINT_PARTICIPANT_ANNOUNCER: u32 = 1u32
pub const BUILTIN_ENDPOINT_PARTICIPANT_DETECTOR: u32 = 2u32
pub const BUILTIN_ENDPOINT_PUBLICATIONS_ANNOUNCER: u32 = 4u32
pub const BUILTIN_ENDPOINT_PUBLICATIONS_DETECTOR: u32 = 8u32
pub const BUILTIN_ENDPOINT_SUBSCRIPTIONS_ANNOUNCER: u32 = 16u32
pub const BUILTIN_ENDPOINT_SUBSCRIPTIONS_DETECTOR: u32 = 32u32
pub const _BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_DATA_WRITER: u32 = 1_024u32
pub const _BUILTIN_ENDPOINT_PARTICIPANT_MESSAGE_DATA_READER: u32 = 2_048u32
pub const BUILTIN_ENDPOINT_TOPICS_ANNOUNCER: u32 = 268_435_456u32
pub const BUILTIN_ENDPOINT_TOPICS_DETECTOR: u32 = 536_870_912u32
pub fn new(value: u32) -> Self
pub fn has(&self, endpoint: u32) -> bool
Trait Implementations§
Source§impl Clone for BuiltinEndpointSet
impl Clone for BuiltinEndpointSet
Source§fn clone(&self) -> BuiltinEndpointSet
fn clone(&self) -> BuiltinEndpointSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltinEndpointSet
impl Debug for BuiltinEndpointSet
Source§impl Default for BuiltinEndpointSet
impl Default for BuiltinEndpointSet
Source§impl PartialEq for BuiltinEndpointSet
impl PartialEq for BuiltinEndpointSet
impl Copy for BuiltinEndpointSet
impl Eq for BuiltinEndpointSet
impl StructuralPartialEq for BuiltinEndpointSet
Auto Trait Implementations§
impl Freeze for BuiltinEndpointSet
impl RefUnwindSafe for BuiltinEndpointSet
impl Send for BuiltinEndpointSet
impl Sync for BuiltinEndpointSet
impl Unpin for BuiltinEndpointSet
impl UnwindSafe for BuiltinEndpointSet
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: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more