Struct HttpProtocol
Source #[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,
}
Formats the value using the given formatter.
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.