Struct Closed

pub struct Closed { /* private fields */ }

An error produced when the a buffer's worker closes unexpectedly.

Trait Implementations

impl Debug for Closed

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

impl Display for Closed

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

impl Error for Closed

Auto Trait Implementations

impl Freeze for Closed

impl RefUnwindSafe for Closed

impl Send for Closed

impl Sync for Closed

impl Unpin for Closed

impl UnsafeUnpin for Closed

impl UnwindSafe for Closed

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for Closed

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Closed

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

fn to_string(&self) -> String

impl<T> WithSubscriber for Closed

impl<T, U> Into<U> for Closed 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 Closed where U: Into<T>,

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

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

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