Struct ServiceError

pub struct ServiceError { /* private fields */ }

An error produced by a Service wrapped by a Buffer

Trait Implementations

impl Debug for ServiceError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for ServiceError

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

impl Error for ServiceError

fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl !RefUnwindSafe for ServiceError

impl !UnwindSafe for ServiceError

impl Freeze for ServiceError

impl Send for ServiceError

impl Sync for ServiceError

impl Unpin for ServiceError

impl UnsafeUnpin for ServiceError

Blanket Implementations

impl<T> Any for ServiceError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ServiceError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ServiceError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for ServiceError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for ServiceError

impl<T> ToString for ServiceError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T> WithSubscriber for ServiceError

impl<T, U> Into<U> for ServiceError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ServiceError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ServiceError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>