pub struct KeyvalueProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CapabilityProvider for KeyvalueProvider
impl CapabilityProvider for KeyvalueProvider
Source§fn capability_id(&self) -> &'static str
fn capability_id(&self) -> &'static str
The capability provider will return either one of the well-known capability IDs or a custom capability ID using
namespace:id notationSource§fn configure_dispatch(
&self,
dispatcher: Box<dyn Dispatcher>,
) -> Result<(), Box<dyn Error>>
fn configure_dispatch( &self, dispatcher: Box<dyn Dispatcher>, ) -> Result<(), Box<dyn Error>>
This function will be called on the provider when the host runtime is ready and has configured a dispatcher. This function is only ever
called once for a capability provider, regardless of the number of actors being managed in the host
Auto Trait Implementations§
impl !Freeze for KeyvalueProvider
impl RefUnwindSafe for KeyvalueProvider
impl Send for KeyvalueProvider
impl Sync for KeyvalueProvider
impl Unpin for KeyvalueProvider
impl UnwindSafe for KeyvalueProvider
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