pub struct PacketConfig(/* private fields */);
Implementations§
Source§impl PacketConfig
impl PacketConfig
pub fn rst_value() -> Self
pub fn is_variable(&self) -> bool
pub fn set_variable(self, val: bool) -> Self
pub fn set_unlimited(self) -> Self
pub fn is_fixed(&self) -> bool
pub fn is_unlimited(&self) -> bool
pub fn len(&self) -> u8
pub fn set_len(self, len: u8) -> Self
pub fn aes(&self) -> bool
pub fn restart(&self) -> bool
pub fn delay(&self) -> u8
pub fn threshold(&self) -> u8
pub fn set_threshold(self, threshold: u8) -> Self
pub fn tx_start(&self) -> bool
pub fn filtering(&self) -> Filtering
pub fn set_filtering(self, filtering: Filtering) -> Self
pub fn clear(&self) -> bool
pub fn set_clear(self, val: bool) -> Self
pub fn crc(&self) -> bool
pub fn set_crc(self, val: bool) -> Self
pub fn dc(&self) -> DCFree
pub fn set_dc(self, dc: DCFree) -> Self
pub fn address(&self) -> u8
pub fn set_address(self, addr: u8) -> Self
pub fn broadcast(&self) -> u8
pub fn set_broadcast(self, addr: u8) -> Self
pub fn validate(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for PacketConfig
impl Clone for PacketConfig
Source§fn clone(&self) -> PacketConfig
fn clone(&self) -> PacketConfig
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 Debug for PacketConfig
impl Debug for PacketConfig
Source§impl Default for PacketConfig
impl Default for PacketConfig
Source§impl Display for PacketConfig
impl Display for PacketConfig
Source§impl PartialEq for PacketConfig
impl PartialEq for PacketConfig
impl Copy for PacketConfig
impl StructuralPartialEq for PacketConfig
Auto Trait Implementations§
impl Freeze for PacketConfig
impl RefUnwindSafe for PacketConfig
impl Send for PacketConfig
impl Sync for PacketConfig
impl Unpin for PacketConfig
impl UnwindSafe for PacketConfig
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