[−][src]Struct lorawan::maccommandcreator::RXTimingSetupReqCreator
RXTimingSetupReqCreator serves for creating RXTimingSetupReq MacCommand.
Examples
let mut creator = lorawan::maccommandcreator::RXTimingSetupReqCreator::new(); let res = creator.set_delay(0x0f).unwrap().build();
Implementations
impl RXTimingSetupReqCreator
[src]
pub fn new() -> Self
[src]
Creates a new instance of the class.
pub fn build(&self) -> &[u8]
[src]
Returns the serialized version of the class as bytes.
impl RXTimingSetupReqCreator
[src]
pub fn set_delay(&mut self, delay: u8) -> Result<&mut Self, &str>
[src]
Sets the delay of the RXTimingSetupReq to the provided value.
Argument
- delay - the value to be used as delay.
Trait Implementations
impl Default for RXTimingSetupReqCreator
[src]
impl SerializableMacCommand for RXTimingSetupReqCreator
[src]
Auto Trait Implementations
impl RefUnwindSafe for RXTimingSetupReqCreator
[src]
impl Send for RXTimingSetupReqCreator
[src]
impl Sync for RXTimingSetupReqCreator
[src]
impl Unpin for RXTimingSetupReqCreator
[src]
impl UnwindSafe for RXTimingSetupReqCreator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,