pub struct AnnounceEventBytes(/* private fields */);Expand description
Note: Request::from_bytes only creates this struct with values 0..=3
Trait Implementations§
Source§impl AsBytes for AnnounceEventBytes
impl AsBytes for AnnounceEventBytes
Source§impl Clone for AnnounceEventBytes
impl Clone for AnnounceEventBytes
Source§fn clone(&self) -> AnnounceEventBytes
fn clone(&self) -> AnnounceEventBytes
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 AnnounceEventBytes
impl Debug for AnnounceEventBytes
Source§impl From<AnnounceEvent> for AnnounceEventBytes
impl From<AnnounceEvent> for AnnounceEventBytes
Source§fn from(value: AnnounceEvent) -> Self
fn from(value: AnnounceEvent) -> Self
Converts to this type from the input type.
Source§impl From<AnnounceEventBytes> for AnnounceEvent
impl From<AnnounceEventBytes> for AnnounceEvent
Source§fn from(value: AnnounceEventBytes) -> Self
fn from(value: AnnounceEventBytes) -> Self
Converts to this type from the input type.
Source§impl FromBytes for AnnounceEventBytes
impl FromBytes for AnnounceEventBytes
Source§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
Source§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§impl FromZeroes for AnnounceEventByteswhere
I32: FromZeroes,
impl FromZeroes for AnnounceEventByteswhere
I32: FromZeroes,
Source§impl PartialEq for AnnounceEventBytes
impl PartialEq for AnnounceEventBytes
impl Copy for AnnounceEventBytes
impl Eq for AnnounceEventBytes
impl StructuralPartialEq for AnnounceEventBytes
Auto Trait Implementations§
impl Freeze for AnnounceEventBytes
impl RefUnwindSafe for AnnounceEventBytes
impl Send for AnnounceEventBytes
impl Sync for AnnounceEventBytes
impl Unpin for AnnounceEventBytes
impl UnwindSafe for AnnounceEventBytes
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> 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