pub struct Dtls13CiphertextConfig { /* private fields */ }Expand description
Expected DTLS 1.3 Connection ID layout for one selected association.
Implementations§
Source§impl Dtls13CiphertextConfig
impl Dtls13CiphertextConfig
Sourcepub fn new(connection_id_length: usize) -> Result<Self, RecordError>
pub fn new(connection_id_length: usize) -> Result<Self, RecordError>
Creates an exact selected-association CID layout.
Sourcepub const fn connection_id_length(self) -> usize
pub const fn connection_id_length(self) -> usize
Returns the exact negotiated CID byte length.
Trait Implementations§
Source§impl Clone for Dtls13CiphertextConfig
impl Clone for Dtls13CiphertextConfig
Source§fn clone(&self) -> Dtls13CiphertextConfig
fn clone(&self) -> Dtls13CiphertextConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Dtls13CiphertextConfig
Source§impl Debug for Dtls13CiphertextConfig
impl Debug for Dtls13CiphertextConfig
impl Eq for Dtls13CiphertextConfig
Source§impl Hash for Dtls13CiphertextConfig
impl Hash for Dtls13CiphertextConfig
Source§impl PartialEq for Dtls13CiphertextConfig
impl PartialEq for Dtls13CiphertextConfig
impl StructuralPartialEq for Dtls13CiphertextConfig
Auto Trait Implementations§
impl Freeze for Dtls13CiphertextConfig
impl RefUnwindSafe for Dtls13CiphertextConfig
impl Send for Dtls13CiphertextConfig
impl Sync for Dtls13CiphertextConfig
impl Unpin for Dtls13CiphertextConfig
impl UnsafeUnpin for Dtls13CiphertextConfig
impl UnwindSafe for Dtls13CiphertextConfig
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