pub enum KeyPhase {
Zero,
One,
}Variants
Zero
One
Implementations
sourceimpl KeyPhase
impl KeyPhase
pub fn from_tag(tag: u8) -> Self
pub fn into_packet_tag_mask(self) -> u8
pub fn next_phase(self) -> Self
Trait Implementations
impl Copy for KeyPhase
impl StructuralPartialEq for KeyPhase
Auto Trait Implementations
impl RefUnwindSafe for KeyPhase
impl Send for KeyPhase
impl Sync for KeyPhase
impl Unpin for KeyPhase
impl UnwindSafe for KeyPhase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more