pub struct InterfaceConfiguration {
pub qos: Qos,
pub to: u8,
pub access_class: u8,
pub nls_method: NlsMethod,
pub address: Address,
}
Fields§
§qos: Qos
§to: u8
Flush Start Timeout in Compressed Format, unit is in seconds
Maximum time to send the packet. This means that the modem will wait for a “good opportunity” to send the packet until the timeout, after which it will just send the packet over the air.
A good opportunity is, for example, if we are sending another packet to the same target, then we can aggregate the requests, to avoid advertising twice. Another example would be if the target sends us a packet, the modem can aggregate our request to the response of the request of the target.
access_class: u8
Access class of the targeted listening device
nls_method: NlsMethod
Security method
address: Address
Address of the target.
Trait Implementations§
source§impl Clone for InterfaceConfiguration
impl Clone for InterfaceConfiguration
source§fn clone(&self) -> InterfaceConfiguration
fn clone(&self) -> InterfaceConfiguration
Returns a copy 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 Codec for InterfaceConfiguration
impl Codec for InterfaceConfiguration
type Error = InterfaceConfigurationDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl Debug for InterfaceConfiguration
impl Debug for InterfaceConfiguration
source§impl Display for InterfaceConfiguration
impl Display for InterfaceConfiguration
source§impl PartialEq for InterfaceConfiguration
impl PartialEq for InterfaceConfiguration
source§fn eq(&self, other: &InterfaceConfiguration) -> bool
fn eq(&self, other: &InterfaceConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterfaceConfiguration
Auto Trait Implementations§
impl Freeze for InterfaceConfiguration
impl RefUnwindSafe for InterfaceConfiguration
impl Send for InterfaceConfiguration
impl Sync for InterfaceConfiguration
impl Unpin for InterfaceConfiguration
impl UnwindSafe for InterfaceConfiguration
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