Enum rustls::record_layer::DirectionState
source · enum DirectionState {
Invalid,
Prepared,
Active,
}
Variants§
Invalid
No keying material.
Prepared
Keying material present, but not yet in use.
Active
Keying material in use.
Trait Implementations§
source§impl PartialEq for DirectionState
impl PartialEq for DirectionState
source§fn eq(&self, other: &DirectionState) -> bool
fn eq(&self, other: &DirectionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DirectionState
Auto Trait Implementations§
impl Freeze for DirectionState
impl RefUnwindSafe for DirectionState
impl Send for DirectionState
impl Sync for DirectionState
impl Unpin for DirectionState
impl UnwindSafe for DirectionState
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