pub struct XChaCha<R: Rounds>(_);
Expand description
Trait Implementations§
source§impl<R: Rounds> NewCipher for XChaCha<R>
impl<R: Rounds> NewCipher for XChaCha<R>
source§impl<R: Rounds> StreamCipher for XChaCha<R>
impl<R: Rounds> StreamCipher for XChaCha<R>
source§impl<R: Rounds> StreamCipherSeek for XChaCha<R>
impl<R: Rounds> StreamCipherSeek for XChaCha<R>
source§fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>
fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>
Try to get current keystream position Read more
source§fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>
fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>
Try to seek to the given position Read more
source§fn current_pos<T>(&self) -> Twhere
T: SeekNum,
fn current_pos<T>(&self) -> Twhere T: SeekNum,
Get current keystream position Read more
Auto Trait Implementations§
impl<R> RefUnwindSafe for XChaCha<R>where R: RefUnwindSafe,
impl<R> Send for XChaCha<R>where R: Send,
impl<R> Sync for XChaCha<R>where R: Sync,
impl<R> Unpin for XChaCha<R>where R: Unpin,
impl<R> UnwindSafe for XChaCha<R>where R: 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