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
.
Auto Trait Implementations
impl RefUnwindSafe for OpenProtocolParams
impl !Send for OpenProtocolParams
impl !Sync for OpenProtocolParams
impl Unpin for OpenProtocolParams
impl UnwindSafe for OpenProtocolParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more