pub struct EncryptParams<'a> {
pub header: HeaderV1,
pub dict: Option<&'a [u8]>,
}Fields§
§header: HeaderV1§dict: Option<&'a [u8]>Implementations§
Source§impl<'a> EncryptParams<'a>
impl<'a> EncryptParams<'a>
pub fn validate(&self) -> Result<(), StreamError>
Trait Implementations§
Source§impl<'a> Clone for EncryptParams<'a>
impl<'a> Clone for EncryptParams<'a>
Source§fn clone(&self) -> EncryptParams<'a>
fn clone(&self) -> EncryptParams<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for EncryptParams<'a>
impl<'a> RefUnwindSafe for EncryptParams<'a>
impl<'a> Send for EncryptParams<'a>
impl<'a> Sync for EncryptParams<'a>
impl<'a> Unpin for EncryptParams<'a>
impl<'a> UnsafeUnpin for EncryptParams<'a>
impl<'a> UnwindSafe for EncryptParams<'a>
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