pub struct Cache { /* private fields */ }Implementations§
Source§impl Cache
impl Cache
pub fn new() -> Self
pub fn pub_sub( self, ) -> Result<Box<dyn ConnectablePubSubProvider<Channels = SubscriptionChannel> + Send + Sync>, &'static str>
pub fn fifo( self, ) -> Result<Box<dyn ConnectableFifoProvider + Send + Sync>, &'static str>
pub fn cache( self, ) -> Result<Box<dyn ConnectableCacheProvider + Send + Sync>, &'static str>
Auto Trait Implementations§
impl Freeze for Cache
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