pub struct IdentityCryptFilter;
Trait Implementations§
Source§impl Clone for IdentityCryptFilter
impl Clone for IdentityCryptFilter
Source§fn clone(&self) -> IdentityCryptFilter
fn clone(&self) -> IdentityCryptFilter
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 moreSource§impl CryptFilter for IdentityCryptFilter
impl CryptFilter for IdentityCryptFilter
fn method(&self) -> &[u8] ⓘ
fn compute_key( &self, key: &[u8], _obj_id: (u32, u16), ) -> Result<Vec<u8>, DecryptionError>
fn encrypt( &self, _key: &[u8], plaintext: &[u8], ) -> Result<Vec<u8>, DecryptionError>
fn decrypt( &self, _key: &[u8], ciphertext: &[u8], ) -> Result<Vec<u8>, DecryptionError>
Source§impl Debug for IdentityCryptFilter
impl Debug for IdentityCryptFilter
impl Copy for IdentityCryptFilter
Auto Trait Implementations§
impl Freeze for IdentityCryptFilter
impl RefUnwindSafe for IdentityCryptFilter
impl Send for IdentityCryptFilter
impl Sync for IdentityCryptFilter
impl Unpin for IdentityCryptFilter
impl UnwindSafe for IdentityCryptFilter
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