pub struct Cipher<R: Rounds> { /* private fields */ }
Expand description
Trait Implementations
sourceimpl<R: Rounds> NewStreamCipher for Cipher<R>
impl<R: Rounds> NewStreamCipher for Cipher<R>
sourceimpl<R: Rounds> SyncStreamCipher for Cipher<R>
impl<R: Rounds> SyncStreamCipher for Cipher<R>
sourceimpl<R: Rounds> SyncStreamCipherSeek for Cipher<R>
impl<R: Rounds> SyncStreamCipherSeek for Cipher<R>
sourcefn 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
sourcefn 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
sourcefn current_pos<T>(&self) -> T where
T: SeekNum,
fn current_pos<T>(&self) -> T where
T: SeekNum,
Get current keystream position Read more
Auto Trait Implementations
impl<R> RefUnwindSafe for Cipher<R> where
R: RefUnwindSafe,
impl<R> Send for Cipher<R> where
R: Send,
impl<R> Sync for Cipher<R> where
R: Sync,
impl<R> Unpin for Cipher<R> where
R: Unpin,
impl<R> UnwindSafe for Cipher<R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more