#[repr(transparent)]pub struct MessageType(pub u16);Expand description
RNS 1.4.2 Channel MSGTYPE
Tuple Fields§
§0: u16Implementations§
Source§impl MessageType
impl MessageType
Sourcepub const SYSTEM_RESERVED_FLOOR: MessageType
pub const SYSTEM_RESERVED_FLOOR: MessageType
RNS 1.4.2 Channel._register_message_type: types at or above 0xf000 belong to the protocol itself, and the reference refuses user registrations in that range.
pub const fn is_system_reserved(self) -> bool
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageType
Source§impl Debug for MessageType
impl Debug for MessageType
impl Eq for MessageType
Source§impl Hash for MessageType
impl Hash for MessageType
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnsafeUnpin for MessageType
impl UnwindSafe for MessageType
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