Enum sequoia_openpgp::packet::header::CTB
source · pub enum CTB {
New(CTBNew),
Old(CTBOld),
}
Expand description
The CTB variants.
There are two CTB variants: the old CTB format and the new CTB format.
Note: CTB stands for Cipher Type Byte.
Variants§
Implementations§
Trait Implementations§
source§impl MarshalInto for CTB
impl MarshalInto for CTB
source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Computes the maximal length of the serialized representation. Read more
source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Serializes into the given buffer. Read more
Auto Trait Implementations§
impl Freeze for CTB
impl RefUnwindSafe for CTB
impl Send for CTB
impl Sync for CTB
impl Unpin for CTB
impl UnwindSafe for CTB
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)