#[repr(C)]pub struct _cef_resource_skip_callback_t {
pub base: cef_base_ref_counted_t,
pub cont: Option<unsafe extern "C" fn(self_: *mut _cef_resource_skip_callback_t, bytes_skipped: i64)>,
}Expand description
Callback for asynchronous continuation of cef_resource_handler_t::skip().
NOTE: This struct is allocated DLL-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
cont: Option<unsafe extern "C" fn(self_: *mut _cef_resource_skip_callback_t, bytes_skipped: 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.
Trait Implementations§
Source§impl Clone for _cef_resource_skip_callback_t
impl Clone for _cef_resource_skip_callback_t
Source§fn clone(&self) -> _cef_resource_skip_callback_t
fn clone(&self) -> _cef_resource_skip_callback_t
Returns a duplicate 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 moreimpl Copy for _cef_resource_skip_callback_t
Auto Trait Implementations§
impl Freeze for _cef_resource_skip_callback_t
impl RefUnwindSafe for _cef_resource_skip_callback_t
impl Send for _cef_resource_skip_callback_t
impl Sync for _cef_resource_skip_callback_t
impl Unpin for _cef_resource_skip_callback_t
impl UnwindSafe for _cef_resource_skip_callback_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