pub struct BuilderEmbedded<K, V> { /* private fields */ }Implementations§
Source§impl<K: Send + 'static + Clone + Eq + Hash + Serialize + DeserializeOwned, V: Send + Clone + DeserializeOwned + Serialize + 'static> BuilderEmbedded<K, V>
impl<K: Send + 'static + Clone + Eq + Hash + Serialize + DeserializeOwned, V: Send + Clone + DeserializeOwned + Serialize + 'static> BuilderEmbedded<K, V>
pub fn init() -> BuilderEmbedded<K, V>
pub fn build(&self) -> ThreadSafeCache<K, V>
pub fn max_size(&mut self, max_size: i32) -> &mut Self
Auto Trait Implementations§
impl<K, V> Freeze for BuilderEmbedded<K, V>
impl<K, V> RefUnwindSafe for BuilderEmbedded<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for BuilderEmbedded<K, V>
impl<K, V> Sync for BuilderEmbedded<K, V>
impl<K, V> Unpin for BuilderEmbedded<K, V>
impl<K, V> UnwindSafe for BuilderEmbedded<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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