pub struct ReloadHandle { /* private fields */ }Expand description
A handle to a running server’s reloadable certificate sources. Obtained from
Server::reload_handle and used (e.g. from a SIGHUP handler) to pick up
renewed certificates without a restart: it clears the ACME cache and re-reads
any static certificate files.
All fields are Arc-backed, so the handle is cheap to clone and Send + Sync — it can move into a watcher thread.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReloadHandle
impl !UnwindSafe for ReloadHandle
impl Freeze for ReloadHandle
impl Send for ReloadHandle
impl Sync for ReloadHandle
impl Unpin for ReloadHandle
impl UnsafeUnpin for ReloadHandle
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