pub struct FileCryptoArgs { /* private fields */ }Available on crate feature
crypto only.Implementations§
Source§impl FileCryptoArgs
impl FileCryptoArgs
pub fn try_from_base64( key: String, nonce: String, ) -> Result<Self, InvalidCryptoArgs>
pub fn expose(&self) -> SxcCryptoFileArgs
Trait Implementations§
Source§impl Drop for FileCryptoArgs
impl Drop for FileCryptoArgs
Source§impl TryFrom<CryptoFileArgs> for FileCryptoArgs
impl TryFrom<CryptoFileArgs> for FileCryptoArgs
Source§type Error = InvalidCryptoArgs
type Error = InvalidCryptoArgs
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FileCryptoArgs
impl RefUnwindSafe for FileCryptoArgs
impl Send for FileCryptoArgs
impl Sync for FileCryptoArgs
impl Unpin for FileCryptoArgs
impl UnsafeUnpin for FileCryptoArgs
impl UnwindSafe for FileCryptoArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more