pub struct L4CacheEntry {
pub key: String,
pub data: Vec<u8>,
pub timestamp: u64,
pub valid: bool,
}Fields§
§key: String§data: Vec<u8>§timestamp: u64§valid: boolTrait Implementations§
Source§impl Clone for L4CacheEntry
impl Clone for L4CacheEntry
Source§fn clone(&self) -> L4CacheEntry
fn clone(&self) -> L4CacheEntry
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 L4CacheEntry
impl RefUnwindSafe for L4CacheEntry
impl Send for L4CacheEntry
impl Sync for L4CacheEntry
impl Unpin for L4CacheEntry
impl UnsafeUnpin for L4CacheEntry
impl UnwindSafe for L4CacheEntry
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