pub struct Timeout;
Expand description
SNAFU context selector for the XandApiClientError::Timeout
variant
Implementations§
Source§impl Timeout
impl Timeout
Sourcepub fn build(self) -> XandApiClientError
pub fn build(self) -> XandApiClientError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, XandApiClientError>
pub fn fail<__T>(self) -> Result<__T, XandApiClientError>
Consume the selector and return a Result
with the associated error
Trait Implementations§
Source§impl IntoError<XandApiClientError> for Timeout
impl IntoError<XandApiClientError> for Timeout
Source§fn into_error(self, error: Self::Source) -> XandApiClientError
fn into_error(self, error: Self::Source) -> XandApiClientError
Combine the information to produce the error
impl Copy for Timeout
Auto Trait Implementations§
impl Freeze for Timeout
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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