[][src]Trait uefi_std::proto::Protocol

pub trait Protocol<T: 'static> {
    fn guid() -> Guid;
fn new(fs: &'static mut T) -> Self
    where
        Self: Sized
; fn locate_protocol() -> Result<Self>
    where
        Self: Sized
, { ... }
fn handle_protocol(handle: Handle) -> Result<Self>
    where
        Self: Sized
, { ... }
fn locate_handle() -> Result<Vec<Self>>
    where
        Self: Sized
, { ... }
fn one() -> Result<Self>
    where
        Self: Sized
, { ... }
fn all() -> Vec<Self>
    where
        Self: Sized
, { ... } }

Required methods

fn guid() -> Guid

fn new(fs: &'static mut T) -> Self where
    Self: Sized

Loading content...

Provided methods

fn locate_protocol() -> Result<Self> where
    Self: Sized

fn handle_protocol(handle: Handle) -> Result<Self> where
    Self: Sized

fn locate_handle() -> Result<Vec<Self>> where
    Self: Sized

fn one() -> Result<Self> where
    Self: Sized

fn all() -> Vec<Self> where
    Self: Sized

Loading content...

Implementors

impl Protocol<LoadedImage> for LoadedImage[src]

impl Protocol<Shell> for Shell[src]

impl Protocol<SimpleFileSystem> for FileSystem[src]

impl Protocol<SimplePointer> for Pointer[src]

Loading content...