#[repr(C)]pub struct TimerMessagePayload {
pub timer_index: u32,
pub reserved: u32,
pub expiration_time: u64,
pub delivery_time: u64,
}Fields§
§timer_index: u32§reserved: u32§expiration_time: u64§delivery_time: u64Trait Implementations§
Source§impl Clone for TimerMessagePayload
impl Clone for TimerMessagePayload
Source§fn clone(&self) -> TimerMessagePayload
fn clone(&self) -> TimerMessagePayload
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 TimerMessagePayload
impl Debug for TimerMessagePayload
Source§impl FromBytes for TimerMessagePayload
impl FromBytes for TimerMessagePayload
Source§impl FromZeros for TimerMessagePayload
impl FromZeros for TimerMessagePayload
Source§impl IntoBytes for TimerMessagePayload
impl IntoBytes for TimerMessagePayload
Source§impl TryFromBytes for TimerMessagePayload
impl TryFromBytes for TimerMessagePayload
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for TimerMessagePayload
Auto Trait Implementations§
impl Freeze for TimerMessagePayload
impl RefUnwindSafe for TimerMessagePayload
impl Send for TimerMessagePayload
impl Sync for TimerMessagePayload
impl Unpin for TimerMessagePayload
impl UnsafeUnpin for TimerMessagePayload
impl UnwindSafe for TimerMessagePayload
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