pub struct Struct_PPB_HostResolver_1_0 {
pub Create: Option< extern "C" fn(instance: PP_Instance) -> PP_Resource>,
pub IsHostResolver: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
pub Resolve: Option< extern "C" fn(host_resolver: PP_Resource, host: *const c_char, port: uint16_t, hint: *const Struct_PP_HostResolver_Hint, callback: Struct_PP_CompletionCallback) -> int32_t>,
pub GetCanonicalName: Option< extern "C" fn(host_resolver: PP_Resource) -> Struct_PP_Var>,
pub GetNetAddressCount: Option< extern "C" fn(host_resolver: PP_Resource) -> uint32_t>,
pub GetNetAddress: Option< extern "C" fn(host_resolver: PP_Resource, index: uint32_t) -> PP_Resource>,
}
Fields
Create | |
IsHostResolver | |
Resolve | |
GetCanonicalName | |
GetNetAddressCount | |
GetNetAddress | |
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).