pub enum SecureFile {
Empty,
SecureFile(SecureFile),
}Expand description
Variants§
Empty
SecureFile(SecureFile)
Trait Implementations§
Source§impl Clone for SecureFile
impl Clone for SecureFile
Source§fn clone(&self) -> SecureFile
fn clone(&self) -> SecureFile
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 SecureFile
impl Debug for SecureFile
Source§impl Deserializable for SecureFile
impl Deserializable for SecureFile
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<SecureFile> for SecureFile
impl From<SecureFile> for SecureFile
Source§fn from(x: SecureFile) -> Self
fn from(x: SecureFile) -> Self
Converts to this type from the input type.
Source§impl From<SecureFileEmpty> for SecureFile
impl From<SecureFileEmpty> for SecureFile
Source§fn from(_x: SecureFileEmpty) -> Self
fn from(_x: SecureFileEmpty) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecureFile
impl PartialEq for SecureFile
Source§impl Serializable for SecureFile
impl Serializable for SecureFile
Source§impl TryFrom<SecureFile> for SecureFile
impl TryFrom<SecureFile> for SecureFile
Source§type Error = SecureFile
type Error = SecureFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureFile
Auto Trait Implementations§
impl Freeze for SecureFile
impl RefUnwindSafe for SecureFile
impl Send for SecureFile
impl Sync for SecureFile
impl Unpin for SecureFile
impl UnsafeUnpin for SecureFile
impl UnwindSafe for SecureFile
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