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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.