pub struct RegisteredBackend {
pub backend: &'static dyn StoreBackend,
}Expand description
Wrapper around &'static dyn StoreBackend so a backend can be
registered with inventory and discovered at link time.
Fields§
§backend: &'static dyn StoreBackendTrait Implementations§
impl Collect for RegisteredBackend
Auto Trait Implementations§
impl !RefUnwindSafe for RegisteredBackend
impl !UnwindSafe for RegisteredBackend
impl Freeze for RegisteredBackend
impl Send for RegisteredBackend
impl Sync for RegisteredBackend
impl Unpin for RegisteredBackend
impl UnsafeUnpin for RegisteredBackend
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