pub struct OperationalDataset { /* private fields */ }Implementations§
Source§impl OperationalDataset
impl OperationalDataset
Sourcepub fn random() -> Result<Self, TwineCodecError>
pub fn random() -> Result<Self, TwineCodecError>
Generate a new random Active Operational Dataset
pub fn active_timestamp(&self) -> Option<Timestamp>
pub fn set_active_timestamp( &mut self, timestamp: Timestamp, ) -> Result<(), TwineCodecError>
pub fn pending_timestamp(&self) -> Option<Timestamp>
pub fn delay_timer(&self) -> Option<DelayTimer>
pub fn channel(&self) -> Option<Channel>
pub fn pan_id(&self) -> Option<PanId>
pub fn channel_mask(&self) -> Option<ChannelMask>
pub fn extended_pan_id(&self) -> Option<ExtendedPanId>
pub fn network_name(&self) -> Option<NetworkName>
pub fn pskc(&self) -> Option<Pskc>
pub fn network_key(&self) -> Option<NetworkKey>
pub fn mesh_local_prefix(&self) -> Option<MeshLocalPrefix>
pub fn security_policy(&self) -> Option<SecurityPolicy>
pub fn pretty_fmt(&self)
pub fn iter(&self) -> OperationalDatasetIter<'_>
pub fn as_hex_string(&self) -> String
Trait Implementations§
Source§impl Debug for OperationalDataset
impl Debug for OperationalDataset
Source§impl Display for OperationalDataset
impl Display for OperationalDataset
Auto Trait Implementations§
impl Freeze for OperationalDataset
impl RefUnwindSafe for OperationalDataset
impl Send for OperationalDataset
impl Sync for OperationalDataset
impl Unpin for OperationalDataset
impl UnsafeUnpin for OperationalDataset
impl UnwindSafe for OperationalDataset
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