pub struct CacheHandle { /* private fields */ }
Expand description
Contains a Cache handle, can’t be created from scratch, only obtained from already existing Cache.
Implementations§
Source§impl CacheHandle
impl CacheHandle
pub fn raw(&self) -> *mut randomx_cache
Trait Implementations§
Source§impl CacheRawAPI for CacheHandle
impl CacheRawAPI for CacheHandle
fn raw(&self) -> *mut randomx_cache
Source§impl Clone for CacheHandle
impl Clone for CacheHandle
Source§fn clone(&self) -> CacheHandle
fn clone(&self) -> CacheHandle
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§
impl Freeze for CacheHandle
impl RefUnwindSafe for CacheHandle
impl Send for CacheHandle
impl Sync for CacheHandle
impl Unpin for CacheHandle
impl UnwindSafe for CacheHandle
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