pub enum EncryptedFile {
Empty,
EncryptedFile(EncryptedFile),
}Expand description
Variants§
Empty
EncryptedFile(EncryptedFile)
Trait Implementations§
Source§impl Clone for EncryptedFile
impl Clone for EncryptedFile
Source§fn clone(&self) -> EncryptedFile
fn clone(&self) -> EncryptedFile
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 moreSource§impl Debug for EncryptedFile
impl Debug for EncryptedFile
Source§impl Deserializable for EncryptedFile
impl Deserializable for EncryptedFile
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<EncryptedFile> for EncryptedFile
impl From<EncryptedFile> for EncryptedFile
Source§fn from(x: EncryptedFile) -> Self
fn from(x: EncryptedFile) -> Self
Converts to this type from the input type.
Source§impl From<EncryptedFileEmpty> for EncryptedFile
impl From<EncryptedFileEmpty> for EncryptedFile
Source§fn from(_x: EncryptedFileEmpty) -> Self
fn from(_x: EncryptedFileEmpty) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptedFile
impl PartialEq for EncryptedFile
Source§impl Serializable for EncryptedFile
impl Serializable for EncryptedFile
Source§impl TryFrom<EncryptedFile> for EncryptedFile
impl TryFrom<EncryptedFile> for EncryptedFile
Source§type Error = EncryptedFile
type Error = EncryptedFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedFile
Auto Trait Implementations§
impl Freeze for EncryptedFile
impl RefUnwindSafe for EncryptedFile
impl Send for EncryptedFile
impl Sync for EncryptedFile
impl Unpin for EncryptedFile
impl UnsafeUnpin for EncryptedFile
impl UnwindSafe for EncryptedFile
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