[−][src]Enum uows_crypto::Cipher
Variants
Implementations
impl Cipher
[src]
pub fn unwrap_key(self) -> Result<Vec<u8>, String>
[src]
pub fn unwrap_data(self) -> Result<Vec<u8>, String>
[src]
pub fn unwrap(self) -> Vec<u8>
[src]
Do NOT call this unless absolutely sure about the enum type.
Call [unwrap_key
] or [unwrap_data
] instead.
pub fn unwrap_to_num_string(self) -> String
[src]
pub fn unwrap_to_string_from_dat(self) -> Result<String, String>
[src]
Only call this function when you are sure that the enum contains
decrypted data and is Cipher::Data
Auto Trait Implementations
impl RefUnwindSafe for Cipher
[src]
impl Send for Cipher
[src]
impl Sync for Cipher
[src]
impl Unpin for Cipher
[src]
impl UnwindSafe for Cipher
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub 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>,