Struct libcryptsetup_rs::CryptParamsTcryptRef
source · [−]pub struct CryptParamsTcryptRef<'a> {
pub inner: crypt_params_tcrypt,
/* private fields */
}
Expand description
Reference to a CryptParamsTcrypt
struct
Fields
inner: crypt_params_tcrypt
FFI compatible representation of CryptParamsTcrypt
Trait Implementations
sourceimpl<'a> TryInto<CryptParamsTcryptRef<'a>> for &'a CryptParamsTcrypt
impl<'a> TryInto<CryptParamsTcryptRef<'a>> for &'a CryptParamsTcrypt
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<CryptParamsTcryptRef<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsTcryptRef<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptParamsTcryptRef<'a>
impl<'a> !Send for CryptParamsTcryptRef<'a>
impl<'a> !Sync for CryptParamsTcryptRef<'a>
impl<'a> Unpin for CryptParamsTcryptRef<'a>
impl<'a> UnwindSafe for CryptParamsTcryptRef<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more