Struct uefi_raw::protocol::rng::RngProtocol
source · #[repr(C)]pub struct RngProtocol {
pub get_info: unsafe extern "efiapi" fn(this: *mut RngProtocol, algorithm_list_size: *mut usize, algorithm_list: *mut RngAlgorithmType) -> Status,
pub get_rng: unsafe extern "efiapi" fn(this: *mut RngProtocol, algorithm: *const RngAlgorithmType, value_length: usize, value: *mut u8) -> Status,
}Expand description
Rng protocol.
Fields§
§get_info: unsafe extern "efiapi" fn(this: *mut RngProtocol, algorithm_list_size: *mut usize, algorithm_list: *mut RngAlgorithmType) -> Status§get_rng: unsafe extern "efiapi" fn(this: *mut RngProtocol, algorithm: *const RngAlgorithmType, value_length: usize, value: *mut u8) -> StatusImplementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RngProtocol
impl Send for RngProtocol
impl Sync for RngProtocol
impl Unpin for RngProtocol
impl UnwindSafe for RngProtocol
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