[−][src]Enum custom_codes::SecOps
Security operations on encryption and keys
Examples
let foo = SecOps::KeyCorrupted; assert_eq!(foo, SecOps::KeyCorrupted);
Variants
Key could not be verified as it did not finish streaming
Key Authentic and approved
Key has been tampered with
Timed Out while verification was in progress
Possible Identity Forgery
Data encrypted has been corrupted
Data has been tampered with
Data has been encrypted
Key generation successful,
Key generation failed
Key has been deleted
random data generated from Cryptographically Secure PRNG (CSPRNG)
random data generated from Noncryptographic PRNG
Message Authentication Code is authentic
Message Authentication Code is corrupted
Random Authentication Code (RAC) Token is genuine/authentic
Random Authentication Code (RAC) Token is not genuine/authentic
Trait Implementations
impl Clone for SecOps
[src]
impl Debug for SecOps
[src]
impl<'de> Deserialize<'de> for SecOps
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for SecOps
[src]
impl PartialEq<SecOps> for SecOps
[src]
impl Serialize for SecOps
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for SecOps
[src]
impl StructuralPartialEq for SecOps
[src]
Auto Trait Implementations
impl RefUnwindSafe for SecOps
impl Send for SecOps
impl Sync for SecOps
impl Unpin for SecOps
impl UnwindSafe for SecOps
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,