Struct ppapi::ffi::Struct_PPB_UDPSocket_1_1Experimental [-]  [+] [src]

pub struct Struct_PPB_UDPSocket_1_1 {
    pub Create: Option< extern "C" fn(instance: PP_Instance) -> PP_Resource>,
    pub IsUDPSocket: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub Bind: Option< extern "C" fn(udp_socket: PP_Resource, addr: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub GetBoundAddress: Option< extern "C" fn(udp_socket: PP_Resource) -> PP_Resource>,
    pub RecvFrom: Option< extern "C" fn(udp_socket: PP_Resource, buffer: *mut c_char, num_bytes: int32_t, addr: *mut PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub SendTo: Option< extern "C" fn(udp_socket: PP_Resource, buffer: *const c_char, num_bytes: int32_t, addr: PP_Resource, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub Close: Option< extern "C" fn(udp_socket: PP_Resource)>,
    pub SetOption: Option< extern "C" fn(udp_socket: PP_Resource, name: PP_UDPSocket_Option, value: Struct_PP_Var, callback: Struct_PP_CompletionCallback) -> int32_t>,
}

Fields

Create
IsUDPSocket
Bind
GetBoundAddress
RecvFrom
SendTo
Close
SetOption

Trait Implementations

impl Default for Struct_PPB_UDPSocket_1_1

fn default() -> Struct_PPB_UDPSocket_1_1

Derived Implementations

impl Copy for Struct_PPB_UDPSocket_1_1