Struct uefi::table::boot::OpenProtocolParams
source · pub struct OpenProtocolParams {
pub handle: Handle,
pub agent: Handle,
pub controller: Option<Handle>,
}
Expand description
Parameters passed to BootServices::open_protocol
.
Fields§
§handle: Handle
The handle for the protocol to open.
agent: Handle
The handle of the calling agent. For drivers, this is the handle
containing the EFI_DRIVER_BINDING_PROTOCOL
instance. For
applications, this is the image handle.
controller: Option<Handle>
For drivers, this is the controller handle that requires the
protocol interface. For applications this should be set to
None
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenProtocolParams
impl RefUnwindSafe for OpenProtocolParams
impl !Send for OpenProtocolParams
impl !Sync for OpenProtocolParams
impl Unpin for OpenProtocolParams
impl UnwindSafe for OpenProtocolParams
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