Struct libcryptsetup_rs::CryptPbkdfTypeRef
source · [−]pub struct CryptPbkdfTypeRef<'a> {
pub inner: crypt_pbkdf_type,
/* private fields */
}
Expand description
A type wrapping a PBKDF type with pointers derived from Rust data types and lifetimes to ensure pointer validity
Fields
inner: crypt_pbkdf_type
Field containing a crypt_pbkdf_type
that contains pointers valid for the supplied struct lifetime
Trait Implementations
sourceimpl<'a> TryInto<CryptPbkdfTypeRef<'a>> for &'a CryptPbkdfType
impl<'a> TryInto<CryptPbkdfTypeRef<'a>> for &'a CryptPbkdfType
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<CryptPbkdfTypeRef<'a>, Self::Error>
fn try_into(self) -> Result<CryptPbkdfTypeRef<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptPbkdfTypeRef<'a>
impl<'a> !Send for CryptPbkdfTypeRef<'a>
impl<'a> !Sync for CryptPbkdfTypeRef<'a>
impl<'a> Unpin for CryptPbkdfTypeRef<'a>
impl<'a> UnwindSafe for CryptPbkdfTypeRef<'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