Struct humphrey_server::server::cache::Cache
source · pub struct Cache {
pub cache_limit: usize,
/* private fields */
}
Expand description
Represents the server’s cache.
Fields§
§cache_limit: usize
The cache’s maximum size.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
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