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

pub struct Struct_PPB_URLRequestInfo_1_0 {
    pub Create: Option< extern "C" fn(instance: PP_Instance) -> PP_Resource>,
    pub IsURLRequestInfo: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub SetProperty: Option< extern "C" fn(request: PP_Resource, property: PP_URLRequestProperty, value: Struct_PP_Var) -> PP_Bool>,
    pub AppendDataToBody: Option< extern "C" fn(request: PP_Resource, data: *const c_void, len: uint32_t) -> PP_Bool>,
    pub AppendFileToBody: Option< extern "C" fn(request: PP_Resource, file_ref: PP_Resource, start_offset: int64_t, number_of_bytes: int64_t, expected_last_modified_time: PP_Time) -> PP_Bool>,
}

Fields

Create
IsURLRequestInfo
SetProperty
AppendDataToBody
AppendFileToBody

Trait Implementations

impl Default for Struct_PPB_URLRequestInfo_1_0

fn default() -> Struct_PPB_URLRequestInfo_1_0

impl URLRequestInfoIf for Struct_PPB_URLRequestInfo_1_0

fn create(&self, instance: PP_Instance) -> Option<PP_Resource>

fn is(&self, res: PP_Resource) -> bool

fn property(&self, res: PP_Resource, prop: PP_URLRequestProperty, value: PP_Var) -> bool

fn append_file_to_body(&self, res: PP_Resource, file: PP_Resource, start_offset: Option<i64>, bytes: Option<i64>, last_modified: Option<PP_Time>) -> bool

fn append_blob_to_body(&self, res: PP_Resource, data: &Vec<u8>) -> bool

Derived Implementations

impl Copy for Struct_PPB_URLRequestInfo_1_0