Skip to main content

cef_resource_skip_callback_t

Type Alias cef_resource_skip_callback_t 

Source
pub type cef_resource_skip_callback_t = _cef_resource_skip_callback_t;
Expand description

Callback for asynchronous continuation of cef_resource_handler_t::skip().

NOTE: This struct is allocated DLL-side.

Aliased Type§

#[repr(C)]
pub struct cef_resource_skip_callback_t { pub base: _cef_base_ref_counted_t, pub cont: Option<unsafe extern "C" fn(*mut _cef_resource_skip_callback_t, i64)>, }

Fields§

§base: _cef_base_ref_counted_t

Base structure.

§cont: Option<unsafe extern "C" fn(*mut _cef_resource_skip_callback_t, i64)>

Callback for asynchronous continuation of skip(). If |bytes_skipped| > 0 then either skip() will be called again until the requested number of bytes have been skipped or the request will proceed. If |bytes_skipped| <= 0 the request will fail with ERR_REQUEST_RANGE_NOT_SATISFIABLE.