#[repr(C)]pub struct aws_cache_vtable {
pub destroy: Option<unsafe extern "C" fn(cache: *mut aws_cache)>,
pub find: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void, p_value: *mut *mut c_void) -> c_int>,
pub put: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void, p_value: *mut c_void) -> c_int>,
pub remove: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void) -> c_int>,
pub clear: Option<unsafe extern "C" fn(cache: *mut aws_cache)>,
pub get_element_count: Option<unsafe extern "C" fn(cache: *const aws_cache) -> usize>,
}
Fields
destroy: Option<unsafe extern "C" fn(cache: *mut aws_cache)>
find: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void, p_value: *mut *mut c_void) -> c_int>
put: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void, p_value: *mut c_void) -> c_int>
remove: Option<unsafe extern "C" fn(cache: *mut aws_cache, key: *const c_void) -> c_int>
clear: Option<unsafe extern "C" fn(cache: *mut aws_cache)>
get_element_count: Option<unsafe extern "C" fn(cache: *const aws_cache) -> usize>
Trait Implementations
sourceimpl Clone for aws_cache_vtable
impl Clone for aws_cache_vtable
sourcefn clone(&self) -> aws_cache_vtable
fn clone(&self) -> aws_cache_vtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_cache_vtable
impl Debug for aws_cache_vtable
sourceimpl Default for aws_cache_vtable
impl Default for aws_cache_vtable
sourcefn default() -> aws_cache_vtable
fn default() -> aws_cache_vtable
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_cache_vtable> for aws_cache_vtable
impl PartialEq<aws_cache_vtable> for aws_cache_vtable
sourcefn eq(&self, other: &aws_cache_vtable) -> bool
fn eq(&self, other: &aws_cache_vtable) -> bool
impl Copy for aws_cache_vtable
impl Eq for aws_cache_vtable
impl StructuralEq for aws_cache_vtable
impl StructuralPartialEq for aws_cache_vtable
Auto Trait Implementations
impl RefUnwindSafe for aws_cache_vtable
impl Send for aws_cache_vtable
impl Sync for aws_cache_vtable
impl Unpin for aws_cache_vtable
impl UnwindSafe for aws_cache_vtable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more