Struct EncryptedMessage
pub struct EncryptedMessage { /* private fields */ }Implementations§
§impl EncryptedMessage
impl EncryptedMessage
pub fn bytes(&self) -> &[u8; 720]
pub fn new_from_slice(bytes: &[u8]) -> Result<EncryptedMessage, RecryptErr>
pub fn new_from_slice(bytes: &[u8]) -> Result<EncryptedMessage, RecryptErr>
construct $t from byte slice. Input slice must be exactly the correct length for the type.
§Returns
Ok($t) or Err($RecryptErr::InputWrongSize]
Trait Implementations§
§impl Clone for EncryptedMessage
impl Clone for EncryptedMessage
§fn clone(&self) -> EncryptedMessage
fn clone(&self) -> EncryptedMessage
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 more§impl Debug for EncryptedMessage
impl Debug for EncryptedMessage
§impl From<EncryptedMessage> for [u8; 720]
impl From<EncryptedMessage> for [u8; 720]
§fn from(t: EncryptedMessage) -> Self
fn from(t: EncryptedMessage) -> Self
Converts to this type from the input type.
§impl Hash for EncryptedMessage
impl Hash for EncryptedMessage
§impl PartialEq for EncryptedMessage
impl PartialEq for EncryptedMessage
impl Copy for EncryptedMessage
impl Eq for EncryptedMessage
Auto Trait Implementations§
impl Freeze for EncryptedMessage
impl RefUnwindSafe for EncryptedMessage
impl Send for EncryptedMessage
impl Sync for EncryptedMessage
impl Unpin for EncryptedMessage
impl UnwindSafe for EncryptedMessage
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