#[repr(C)]pub struct _cef_resource_handler_t {
pub base: cef_base_ref_counted_t,
pub open: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, request: *mut _cef_request_t, handle_request: *mut c_int, callback: *mut _cef_callback_t) -> c_int>,
pub process_request: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, request: *mut _cef_request_t, callback: *mut _cef_callback_t) -> c_int>,
pub get_response_headers: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, response: *mut _cef_response_t, response_length: *mut int64, redirectUrl: *mut cef_string_t)>,
pub skip: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, bytes_to_skip: int64, bytes_skipped: *mut int64, callback: *mut _cef_resource_skip_callback_t) -> c_int>,
pub read: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, data_out: *mut c_void, bytes_to_read: c_int, bytes_read: *mut c_int, callback: *mut _cef_resource_read_callback_t) -> c_int>,
pub read_response: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, data_out: *mut c_void, bytes_to_read: c_int, bytes_read: *mut c_int, callback: *mut _cef_callback_t) -> c_int>,
pub cancel: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t)>,
}Fields§
§base: cef_base_ref_counted_t§open: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, request: *mut _cef_request_t, handle_request: *mut c_int, callback: *mut _cef_callback_t) -> c_int>§process_request: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, request: *mut _cef_request_t, callback: *mut _cef_callback_t) -> c_int>§get_response_headers: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, response: *mut _cef_response_t, response_length: *mut int64, redirectUrl: *mut cef_string_t)>§skip: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, bytes_to_skip: int64, bytes_skipped: *mut int64, callback: *mut _cef_resource_skip_callback_t) -> c_int>§read: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, data_out: *mut c_void, bytes_to_read: c_int, bytes_read: *mut c_int, callback: *mut _cef_resource_read_callback_t) -> c_int>§read_response: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t, data_out: *mut c_void, bytes_to_read: c_int, bytes_read: *mut c_int, callback: *mut _cef_callback_t) -> c_int>§cancel: Option<unsafe extern "C" fn(self_: *mut _cef_resource_handler_t)>Trait Implementations§
Source§impl Clone for _cef_resource_handler_t
impl Clone for _cef_resource_handler_t
Source§fn clone(&self) -> _cef_resource_handler_t
fn clone(&self) -> _cef_resource_handler_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _cef_resource_handler_t
impl Debug for _cef_resource_handler_t
impl Copy for _cef_resource_handler_t
Auto Trait Implementations§
impl Freeze for _cef_resource_handler_t
impl RefUnwindSafe for _cef_resource_handler_t
impl Send for _cef_resource_handler_t
impl Sync for _cef_resource_handler_t
impl Unpin for _cef_resource_handler_t
impl UnwindSafe for _cef_resource_handler_t
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