pub struct ConfigUpdates { /* private fields */ }
Implementations§
Source§impl ConfigUpdates
impl ConfigUpdates
pub fn for_listener<A>(addr: impl ToAddress<A>) -> Self
Trait Implementations§
Source§impl Deref for ConfigUpdates
impl Deref for ConfigUpdates
Source§impl DerefMut for ConfigUpdates
impl DerefMut for ConfigUpdates
Source§impl ManageSubscription<ConfigUpdates> for ConfigLoader
impl ManageSubscription<ConfigUpdates> for ConfigLoader
fn subscribe<'life0, 'life1, 'async_trait>(
&'life0 mut self,
sub_id: UniqueId<ConfigUpdates>,
_ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn unsubscribe<'life0, 'life1, 'async_trait>(
&'life0 mut self,
sub_id: UniqueId<ConfigUpdates>,
_ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: Subscribe<S>,
ctx: &'life1 mut Context<Self>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Source§impl Subscription for ConfigUpdates
impl Subscription for ConfigUpdates
Auto Trait Implementations§
impl Freeze for ConfigUpdates
impl !RefUnwindSafe for ConfigUpdates
impl Send for ConfigUpdates
impl Sync for ConfigUpdates
impl Unpin for ConfigUpdates
impl !UnwindSafe for ConfigUpdates
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