pub struct CryptoBlock {
pub name: String,
pub driver: String,
pub module: String,
pub priority: isize,
pub ref_count: isize,
pub self_test: SelfTest,
pub internal: bool,
pub fips_enabled: bool,
pub crypto_type: Type,
}
Expand description
Format of a crypto implementation represented in /proc/crypto.
Fields§
§name: String
§driver: String
§module: String
§priority: isize
§ref_count: isize
§self_test: SelfTest
§internal: bool
§fips_enabled: bool
§crypto_type: Type
Trait Implementations§
source§impl Clone for CryptoBlock
impl Clone for CryptoBlock
source§fn clone(&self) -> CryptoBlock
fn clone(&self) -> CryptoBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CryptoBlock
impl Debug for CryptoBlock
source§impl<'de> Deserialize<'de> for CryptoBlock
impl<'de> Deserialize<'de> for CryptoBlock
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CryptoBlock
impl RefUnwindSafe for CryptoBlock
impl Send for CryptoBlock
impl Sync for CryptoBlock
impl Unpin for CryptoBlock
impl UnwindSafe for CryptoBlock
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)