pub struct LightningPulseMessage(/* private fields */);Implementations§
Source§impl LightningPulseMessage
impl LightningPulseMessage
Sourcepub const fn count(&self) -> u32
pub const fn count(&self) -> u32
Number of times the lightning pulse has been sent.
Bits: 0..32
Sourcepub const fn with_count_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_count_checked(self, value: u32) -> Result<Self, ()>
Number of times the lightning pulse has been sent.
Bits: 0..32
Sourcepub const fn with_count(self, value: u32) -> Self
pub const fn with_count(self, value: u32) -> Self
Number of times the lightning pulse has been sent.
Bits: 0..32
Trait Implementations§
Source§impl Clone for LightningPulseMessage
impl Clone for LightningPulseMessage
Source§fn clone(&self) -> LightningPulseMessage
fn clone(&self) -> LightningPulseMessage
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 LightningPulseMessage
impl Debug for LightningPulseMessage
Source§impl Default for LightningPulseMessage
impl Default for LightningPulseMessage
Source§impl From<LightningPulseMessage> for u32
impl From<LightningPulseMessage> for u32
Source§fn from(v: LightningPulseMessage) -> Self
fn from(v: LightningPulseMessage) -> Self
Converts to this type from the input type.
Source§impl From<u32> for LightningPulseMessage
impl From<u32> for LightningPulseMessage
Source§impl ToCanFrame for LightningPulseMessage
impl ToCanFrame for LightningPulseMessage
impl Copy for LightningPulseMessage
Auto Trait Implementations§
impl Freeze for LightningPulseMessage
impl RefUnwindSafe for LightningPulseMessage
impl Send for LightningPulseMessage
impl Sync for LightningPulseMessage
impl Unpin for LightningPulseMessage
impl UnwindSafe for LightningPulseMessage
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