pub struct PlaintextSource {
pub value: usize,
pub envelope: Span,
}Expand description
Logical plaintext context retained independently of temporary decrypted bytes.
envelope is in the enclosing AC’s source coordinates. Any error produced by
the plaintext reader uses zero-based plaintext coordinates, not that source.
Fields§
§value: usizeOriginal independent encAttrs value ordinal.
envelope: SpanWhole original EnvelopedData enclosure; no inner offset projection exists.
Trait Implementations§
Source§impl Clone for PlaintextSource
impl Clone for PlaintextSource
impl Copy for PlaintextSource
Source§impl Debug for PlaintextSource
impl Debug for PlaintextSource
impl Eq for PlaintextSource
Source§impl PartialEq for PlaintextSource
impl PartialEq for PlaintextSource
impl StructuralPartialEq for PlaintextSource
Auto Trait Implementations§
impl Freeze for PlaintextSource
impl RefUnwindSafe for PlaintextSource
impl Send for PlaintextSource
impl Sync for PlaintextSource
impl Unpin for PlaintextSource
impl UnsafeUnpin for PlaintextSource
impl UnwindSafe for PlaintextSource
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