Struct secured_cipher::permutation::poly1305::SignedEnvelope
source · pub struct SignedEnvelope {
pub header: Vec<u8>,
pub data: Vec<u8>,
pub mac: Vec<u8>,
}Expand description
SignedEnvelope struct for handling data with its associated MAC.
Fields§
§header: Vec<u8>§data: Vec<u8>§mac: Vec<u8>Implementations§
Trait Implementations§
source§impl From<SignedEnvelope> for Vec<u8>
impl From<SignedEnvelope> for Vec<u8>
source§fn from(envelope: SignedEnvelope) -> Self
fn from(envelope: SignedEnvelope) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SignedEnvelope
impl Send for SignedEnvelope
impl Sync for SignedEnvelope
impl Unpin for SignedEnvelope
impl UnwindSafe for SignedEnvelope
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