Struct breadx::client_message_data::ClientMessageData [−][src]
#[repr(transparent)]pub struct ClientMessageData { /* fields omitted */ }
Expand description
The data returned from a client message. This is dictated by protocol to be five 32-bit integers in length;
however, it could also represent 10 16-bit integers or 20 8-bit integers. It is usually represented as a
union; however, the bytes
, shorts
, and longs
methods can be used to access each of these
representations.
Implementations
Get the bytes assocated with this sequence.
Get the short integers assocated with this sequence.
Get the long integers associated with this sequence.
Get a mutable reference to the bytes associated with this sequence.
Get a mutable reference to the short integers associated with this sequence.
Trait Implementations
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
Convert a sequence of bytes into this item.
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClientMessageData
impl Send for ClientMessageData
impl Sync for ClientMessageData
impl Unpin for ClientMessageData
impl UnwindSafe for ClientMessageData
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,