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