Struct uefi_nvram_specvars::signature_list::SignatureData
source · pub struct SignatureData<T> {
pub header: EFI_SIGNATURE_DATA,
pub data: T,
}
Expand description
Rust-y representation of a [EFI_SIGNATURE_DATA
] struct.
Fields§
§header: EFI_SIGNATURE_DATA
§data: T
Implementations§
source§impl SignatureData<Sha256Data<'_>>
impl SignatureData<Sha256Data<'_>>
sourcepub fn new_sha256(
owner: Guid,
data: Cow<'_, [u8; 32]>,
) -> SignatureData<Sha256Data<'_>>
pub fn new_sha256( owner: Guid, data: Cow<'_, [u8; 32]>, ) -> SignatureData<Sha256Data<'_>>
Instantiate a new SignatureData
with a sha256 digest payload.
source§impl SignatureData<X509Data<'_>>
impl SignatureData<X509Data<'_>>
Trait Implementations§
source§impl<T: Debug> Debug for SignatureData<T>
impl<T: Debug> Debug for SignatureData<T>
source§impl<T: PartialEq> PartialEq for SignatureData<T>
impl<T: PartialEq> PartialEq for SignatureData<T>
impl<T: Eq> Eq for SignatureData<T>
impl<T> StructuralPartialEq for SignatureData<T>
Auto Trait Implementations§
impl<T> Freeze for SignatureData<T>where
T: Freeze,
impl<T> RefUnwindSafe for SignatureData<T>where
T: RefUnwindSafe,
impl<T> Send for SignatureData<T>where
T: Send,
impl<T> Sync for SignatureData<T>where
T: Sync,
impl<T> Unpin for SignatureData<T>where
T: Unpin,
impl<T> UnwindSafe for SignatureData<T>where
T: UnwindSafe,
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