Struct WouldBlock

pub struct WouldBlock;

A lock could not be acquired at this time because the operation would otherwise block.

Trait Implementations

impl Debug for WouldBlock

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

impl Display for WouldBlock

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

Auto Trait Implementations

impl Freeze for WouldBlock

impl RefUnwindSafe for WouldBlock

impl Send for WouldBlock

impl Sync for WouldBlock

impl Unpin for WouldBlock

impl UnsafeUnpin for WouldBlock

impl UnwindSafe for WouldBlock

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for WouldBlock

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for WouldBlock where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for WouldBlock

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

fn to_string(&self) -> String

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

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

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

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