pub struct SaberCiphertext(pub Vec<u8>);Tuple Fields§
§0: Vec<u8>Implementations§
Source§impl SaberCiphertext
impl SaberCiphertext
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<Self>
pub fn from_bytes(bytes: &[u8]) -> Result<Self>
Create from a byte slice
Trait Implementations§
Source§impl Clone for SaberCiphertext
impl Clone for SaberCiphertext
Source§fn clone(&self) -> SaberCiphertext
fn clone(&self) -> SaberCiphertext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SaberCiphertext
impl RefUnwindSafe for SaberCiphertext
impl Send for SaberCiphertext
impl Sync for SaberCiphertext
impl Unpin for SaberCiphertext
impl UnwindSafe for SaberCiphertext
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