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