pub struct Right<S: ORECipher, const N: usize> where
<S as ORECipher>::RightBlockType: CipherTextBlock, {
pub nonce: Block,
pub data: [S::RightBlockType; N],
}
Fields
nonce: Block
data: [S::RightBlockType; N]
Implementations
Trait Implementations
sourceimpl<S: Clone + ORECipher, const N: usize> Clone for Right<S, N> where
<S as ORECipher>::RightBlockType: CipherTextBlock,
S::RightBlockType: Clone,
impl<S: Clone + ORECipher, const N: usize> Clone for Right<S, N> where
<S as ORECipher>::RightBlockType: CipherTextBlock,
S::RightBlockType: Clone,
sourceimpl<S: Debug + ORECipher, const N: usize> Debug for Right<S, N> where
<S as ORECipher>::RightBlockType: CipherTextBlock,
S::RightBlockType: Debug,
impl<S: Debug + ORECipher, const N: usize> Debug for Right<S, N> where
<S as ORECipher>::RightBlockType: CipherTextBlock,
S::RightBlockType: Debug,
impl<S: Copy + ORECipher, const N: usize> Copy for Right<S, N> where
<S as ORECipher>::RightBlockType: CipherTextBlock,
S::RightBlockType: Copy,
Auto Trait Implementations
impl<S, const N: usize> RefUnwindSafe for Right<S, N> where
<S as ORECipher>::RightBlockType: RefUnwindSafe,
impl<S, const N: usize> Send for Right<S, N> where
<S as ORECipher>::RightBlockType: Send,
impl<S, const N: usize> Sync for Right<S, N> where
<S as ORECipher>::RightBlockType: Sync,
impl<S, const N: usize> Unpin for Right<S, N> where
<S as ORECipher>::RightBlockType: Unpin,
impl<S, const N: usize> UnwindSafe for Right<S, N> where
<S as ORECipher>::RightBlockType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more