pub struct MethodCacheSpec {
pub ttl_ms: u64,
pub capacity: usize,
}Fields§
§ttl_ms: u64§capacity: usizeTrait Implementations§
Source§impl Clone for MethodCacheSpec
impl Clone for MethodCacheSpec
Source§fn clone(&self) -> MethodCacheSpec
fn clone(&self) -> MethodCacheSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MethodCacheSpec
impl Debug for MethodCacheSpec
Auto Trait Implementations§
impl Freeze for MethodCacheSpec
impl RefUnwindSafe for MethodCacheSpec
impl Send for MethodCacheSpec
impl Sync for MethodCacheSpec
impl Unpin for MethodCacheSpec
impl UnsafeUnpin for MethodCacheSpec
impl UnwindSafe for MethodCacheSpec
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