pub enum ProtectionState {
Decrypt(DataEncryption),
DataLength(usize),
ReservedBits([u8; 4]),
}Variants§
Trait Implementations§
Source§impl Debug for ProtectionState
impl Debug for ProtectionState
Source§impl Display for ProtectionState
impl Display for ProtectionState
Source§impl From<DataEncryption> for ProtectionState
impl From<DataEncryption> for ProtectionState
Source§fn from(value: DataEncryption) -> Self
fn from(value: DataEncryption) -> Self
Converts to this type from the input type.
Source§impl From<ProtectionState> for ProjectStructure
impl From<ProtectionState> for ProjectStructure
Source§fn from(value: ProtectionState) -> Self
fn from(value: ProtectionState) -> Self
Converts to this type from the input type.
Source§impl From<ProtectionState> for UnlockError
impl From<ProtectionState> for UnlockError
Source§fn from(value: ProtectionState) -> Self
fn from(value: ProtectionState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProtectionState
impl PartialEq for ProtectionState
impl Eq for ProtectionState
impl StructuralPartialEq for ProtectionState
Auto Trait Implementations§
impl Freeze for ProtectionState
impl RefUnwindSafe for ProtectionState
impl Send for ProtectionState
impl Sync for ProtectionState
impl Unpin for ProtectionState
impl UnwindSafe for ProtectionState
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