pub enum TrySendError {
Full,
Closed,
}Expand description
Failures encountered while sending without awaiting capacity.
Variants§
Trait Implementations§
Source§impl Clone for TrySendError
impl Clone for TrySendError
Source§fn clone(&self) -> TrySendError
fn clone(&self) -> TrySendError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrySendError
impl Debug for TrySendError
Source§impl Display for TrySendError
impl Display for TrySendError
Source§impl Error for TrySendError
impl Error for TrySendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TrySendError
impl RefUnwindSafe for TrySendError
impl Send for TrySendError
impl Sync for TrySendError
impl Unpin for TrySendError
impl UnsafeUnpin for TrySendError
impl UnwindSafe for TrySendError
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