pub struct OpenProtocolParams {
pub handle: Handle,
pub agent: Handle,
pub controller: Option<Handle>,
}Expand description
Parameters passed to open_protocol.
Fields§
§handle: HandleThe handle for the protocol to open.
agent: HandleThe 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§
Source§impl Clone for OpenProtocolParams
impl Clone for OpenProtocolParams
Source§fn clone(&self) -> OpenProtocolParams
fn clone(&self) -> OpenProtocolParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenProtocolParams
impl Debug for OpenProtocolParams
impl Copy for OpenProtocolParams
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