pub struct SentinelLayer<S, R, B>{ /* private fields */ }
Expand description
The tower::Layer
wrapper for SentinelService
.
Implementations§
Source§impl<S, R, B> SentinelLayer<S, R, B>
impl<S, R, B> SentinelLayer<S, R, B>
Trait Implementations§
Source§impl<S, R, B> Clone for SentinelLayer<S, R, B>
impl<S, R, B> Clone for SentinelLayer<S, R, B>
Source§impl<S, R, B> Default for SentinelLayer<S, R, B>
impl<S, R, B> Default for SentinelLayer<S, R, B>
Source§fn default() -> SentinelLayer<S, R, B>
fn default() -> SentinelLayer<S, R, B>
Returns the “default value” for a type. Read more
Source§impl<S, R, B> Layer<S> for SentinelLayer<S, R, B>
impl<S, R, B> Layer<S> for SentinelLayer<S, R, B>
Auto Trait Implementations§
impl<S, R, B> Freeze for SentinelLayer<S, R, B>
impl<S, R, B> RefUnwindSafe for SentinelLayer<S, R, B>where
B: RefUnwindSafe,
impl<S, R, B> Send for SentinelLayer<S, R, B>where
B: Send,
impl<S, R, B> Sync for SentinelLayer<S, R, B>where
B: Sync,
impl<S, R, B> Unpin for SentinelLayer<S, R, B>where
B: Unpin,
impl<S, R, B> UnwindSafe for SentinelLayer<S, R, B>where
B: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more