pub struct ReloadEndpoint { /* private fields */ }
Expand description
Endpoint reloader
Implementations§
source§impl ReloadEndpoint
impl ReloadEndpoint
sourcepub async fn reload_once(&self)
pub async fn reload_once(&self)
Reload the endpoint once
sourcepub async fn reload_task(self)
pub async fn reload_task(self)
An infinite loop task that will reload the endpoint
This task will terminate when the corresponding Client
is dropped.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReloadEndpoint
impl Send for ReloadEndpoint
impl Sync for ReloadEndpoint
impl Unpin for ReloadEndpoint
impl !UnwindSafe for ReloadEndpoint
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