pub struct CommandOptions(pub u8);Expand description
Route Reply Command Options
See Section 3.4.3.2.1.
Tuple Fields§
§0: u8Implementations§
Source§impl CommandOptions
impl CommandOptions
Sourcepub fn originator_ieee(&self) -> bool
pub fn originator_ieee(&self) -> bool
Originator IEEE Address flag
Sourcepub fn set_originator_ieee(self, value: bool) -> Self
pub fn set_originator_ieee(self, value: bool) -> Self
Sets the Originator IEEE Address flag
Sourcepub fn responder_ieee(&self) -> bool
pub fn responder_ieee(&self) -> bool
Responder IEEE Address flag
Sourcepub fn set_responder_ieee(self, value: bool) -> Self
pub fn set_responder_ieee(self, value: bool) -> Self
Sets the Responder IEEE Address flag
Sourcepub fn set_multicast(self, value: bool) -> Self
pub fn set_multicast(self, value: bool) -> Self
Sets the Multicast flag
Trait Implementations§
Source§impl Clone for CommandOptions
impl Clone for CommandOptions
impl Copy for CommandOptions
Source§impl Debug for CommandOptions
impl Debug for CommandOptions
impl Eq for CommandOptions
Source§impl PartialEq for CommandOptions
impl PartialEq for CommandOptions
impl StructuralPartialEq for CommandOptions
Source§impl<C: Default> TryRead<'_, C> for CommandOptions
impl<C: Default> TryRead<'_, C> for CommandOptions
Auto Trait Implementations§
impl Freeze for CommandOptions
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnsafeUnpin for CommandOptions
impl UnwindSafe for CommandOptions
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