#[repr(C)]pub struct HttpProtocol {
pub get_mode_data: unsafe extern "efiapi" fn(this: *const Self, config_data: *mut HttpConfigData) -> Status,
pub configure: unsafe extern "efiapi" fn(this: *mut Self, config_data: *const HttpConfigData) -> Status,
pub request: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status,
pub cancel: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status,
pub response: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status,
pub poll: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
}
Fields§
§get_mode_data: unsafe extern "efiapi" fn(this: *const Self, config_data: *mut HttpConfigData) -> Status
§configure: unsafe extern "efiapi" fn(this: *mut Self, config_data: *const HttpConfigData) -> Status
§request: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status
§cancel: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status
§response: unsafe extern "efiapi" fn(this: *mut Self, token: *mut HttpToken) -> Status
§poll: unsafe extern "efiapi" fn(this: *mut Self) -> Status
Implementations§
source§impl HttpProtocol
impl HttpProtocol
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpProtocol
impl RefUnwindSafe for HttpProtocol
impl Send for HttpProtocol
impl Sync for HttpProtocol
impl Unpin for HttpProtocol
impl UnwindSafe for HttpProtocol
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