pub struct Choice<X, Y> { /* private fields */ }
Trait Implementations§
Auto Trait Implementations§
impl<X, Y> Freeze for Choice<X, Y>
impl<X, Y> RefUnwindSafe for Choice<X, Y>where
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y> Send for Choice<X, Y>
impl<X, Y> Sync for Choice<X, Y>
impl<X, Y> Unpin for Choice<X, Y>
impl<X, Y> UnwindSafe for Choice<X, Y>where
X: UnwindSafe,
Y: 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, Q> HandleChoiceExt<Q> for T
impl<T, Q> HandleChoiceExt<Q> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request