pub enum Reload {
Unchanged,
Reloaded,
Failed(TlsError),
}Expand description
What Tls::reload found.
Variants§
Unchanged
The files are as they were (or as they were when they last failed).
Reloaded
The files changed and are in use now.
Failed(TlsError)
The files changed but can’t be used; the previous material stays in use.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Reload
impl !UnwindSafe for Reload
impl Freeze for Reload
impl Send for Reload
impl Sync for Reload
impl Unpin for Reload
impl UnsafeUnpin for Reload
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].