pub struct Right<S: OreCipher, const N: usize> {
pub nonce: [u8; 16],
pub data: [S::RightBlockType; N],
}
Fields§
§nonce: [u8; 16]
§data: [S::RightBlockType; N]
Trait Implementations§
Source§impl<S: Clone + OreCipher, const N: usize> Clone for Right<S, N>where
S::RightBlockType: Clone,
impl<S: Clone + OreCipher, const N: usize> Clone for Right<S, N>where
S::RightBlockType: Clone,
Source§impl<S: Debug + OreCipher, const N: usize> Debug for Right<S, N>where
S::RightBlockType: Debug,
impl<S: Debug + OreCipher, const N: usize> Debug for Right<S, N>where
S::RightBlockType: Debug,
Source§impl<S: OreCipher, const N: usize> OreOutput for Right<S, N>
impl<S: OreCipher, const N: usize> OreOutput for Right<S, N>
Source§fn from_slice(data: &[u8]) -> Result<Self, ParseError>
fn from_slice(data: &[u8]) -> Result<Self, ParseError>
Try to deserialize from a slice
Source§fn from_bytes(data: &[u8]) -> Result<Self, ParseError>
fn from_bytes(data: &[u8]) -> Result<Self, ParseError>
👎Deprecated since 0.8.0: please use
from_slice
insteadimpl<S: Copy + OreCipher, const N: usize> Copy for Right<S, N>where
S::RightBlockType: Copy,
Auto Trait Implementations§
impl<S, const N: usize> Freeze for Right<S, N>
impl<S, const N: usize> RefUnwindSafe for Right<S, N>
impl<S, const N: usize> Send for Right<S, N>
impl<S, const N: usize> Sync for Right<S, N>
impl<S, const N: usize> Unpin for Right<S, N>
impl<S, const N: usize> UnwindSafe for Right<S, N>
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