pub struct UnreferencedMessage(/* private fields */);Expand description
A type representing an unreferenced message.
Implementations§
Trait Implementations§
Source§impl Clone for UnreferencedMessage
impl Clone for UnreferencedMessage
Source§fn clone(&self) -> UnreferencedMessage
fn clone(&self) -> UnreferencedMessage
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 UnreferencedMessage
impl Debug for UnreferencedMessage
Source§impl Deref for UnreferencedMessage
impl Deref for UnreferencedMessage
Source§impl From<MessageId> for UnreferencedMessage
impl From<MessageId> for UnreferencedMessage
Source§impl Hash for UnreferencedMessage
impl Hash for UnreferencedMessage
Source§impl Packable for UnreferencedMessage
impl Packable for UnreferencedMessage
Source§fn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
Source§fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
Packs the instance to bytes and writes them to the passed writer.
Source§fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R,
) -> Result<Self, Self::Error>
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>( reader: &mut R, ) -> Result<Self, Self::Error>
Reads bytes from the passed reader and unpacks them into an instance.
Source§fn pack_new(&self) -> Vec<u8> ⓘ
fn pack_new(&self) -> Vec<u8> ⓘ
Packs the instance to bytes and writes them to a newly allocated vector.
Source§impl PartialEq for UnreferencedMessage
impl PartialEq for UnreferencedMessage
impl Copy for UnreferencedMessage
impl Eq for UnreferencedMessage
impl StructuralPartialEq for UnreferencedMessage
Auto Trait Implementations§
impl Freeze for UnreferencedMessage
impl RefUnwindSafe for UnreferencedMessage
impl Send for UnreferencedMessage
impl Sync for UnreferencedMessage
impl Unpin for UnreferencedMessage
impl UnwindSafe for UnreferencedMessage
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