#[repr(C)]pub struct _cef_set_cookie_callback_t {
pub base: cef_base_ref_counted_t,
pub on_complete: Option<unsafe extern "C" fn(self_: *mut _cef_set_cookie_callback_t, success: c_int)>,
}Expand description
Structure to implement to be notified of asynchronous completion via cef_cookie_manager_t::set_cookie().
NOTE: This struct is allocated client-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
on_complete: Option<unsafe extern "C" fn(self_: *mut _cef_set_cookie_callback_t, success: c_int)>Method that will be called upon completion. |success| will be true (1) if the cookie was set successfully.
Trait Implementations§
Source§fn clone(&self) -> _cef_set_cookie_callback_t
fn clone(&self) -> _cef_set_cookie_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 moreAuto Trait Implementations§
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