pub struct Xor<const KEY: u8, D: DropStrategy = Zeroize>(/* private fields */);Expand description
An algorithm that performs XOR encryption and decryption. This algorithm is generic over drop strategy.
Trait Implementations§
Auto Trait Implementations§
impl<const KEY: u8, D> Freeze for Xor<KEY, D>
impl<const KEY: u8, D> RefUnwindSafe for Xor<KEY, D>where
D: RefUnwindSafe,
impl<const KEY: u8, D> Send for Xor<KEY, D>where
D: Send,
impl<const KEY: u8, D> Sync for Xor<KEY, D>where
D: Sync,
impl<const KEY: u8, D> Unpin for Xor<KEY, D>where
D: Unpin,
impl<const KEY: u8, D> UnsafeUnpin for Xor<KEY, D>
impl<const KEY: u8, D> UnwindSafe for Xor<KEY, D>where
D: UnwindSafe,
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