#[repr(transparent)]pub struct Maxpacketsize(pub u32);
Expand description
Length of keystream generated when MODE.LENGTH = Extended.
Tuple Fields§
§0: u32
Implementations§
Source§impl Maxpacketsize
impl Maxpacketsize
Sourcepub const fn maxpacketsize(&self) -> u8
pub const fn maxpacketsize(&self) -> u8
Length of keystream generated when MODE.LENGTH = Extended. This value must be greater or equal to the subsequent packet payload to be encrypted/decrypted.
Sourcepub fn set_maxpacketsize(&mut self, val: u8)
pub fn set_maxpacketsize(&mut self, val: u8)
Length of keystream generated when MODE.LENGTH = Extended. This value must be greater or equal to the subsequent packet payload to be encrypted/decrypted.
Trait Implementations§
Source§impl Clone for Maxpacketsize
impl Clone for Maxpacketsize
Source§fn clone(&self) -> Maxpacketsize
fn clone(&self) -> Maxpacketsize
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 Default for Maxpacketsize
impl Default for Maxpacketsize
Source§fn default() -> Maxpacketsize
fn default() -> Maxpacketsize
Returns the “default value” for a type. Read more
Source§impl PartialEq for Maxpacketsize
impl PartialEq for Maxpacketsize
impl Copy for Maxpacketsize
impl Eq for Maxpacketsize
impl StructuralPartialEq for Maxpacketsize
Auto Trait Implementations§
impl Freeze for Maxpacketsize
impl RefUnwindSafe for Maxpacketsize
impl Send for Maxpacketsize
impl Sync for Maxpacketsize
impl Unpin for Maxpacketsize
impl UnwindSafe for Maxpacketsize
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)