pub struct MultiArmorResult {
pub bytes: Arc<[u8]>,
pub blocks: Vec<ArmorBlock>,
pub cleartext: Option<Arc<str>>,
}Expand description
The result of decoding input that may contain several armor blocks and/or a cleartext signed message.
Fields§
§bytes: Arc<[u8]>All blocks’ decoded binary data, concatenated in input order, so that packet byte spans share a single address space.
blocks: Vec<ArmorBlock>The decoded blocks, in input order, with their byte ranges.
cleartext: Option<Arc<str>>The dash-unescaped cleartext, if the input contained a
-----BEGIN PGP SIGNED MESSAGE----- section.
Auto Trait Implementations§
impl Freeze for MultiArmorResult
impl RefUnwindSafe for MultiArmorResult
impl Send for MultiArmorResult
impl Sync for MultiArmorResult
impl Unpin for MultiArmorResult
impl UnsafeUnpin for MultiArmorResult
impl UnwindSafe for MultiArmorResult
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