pub enum ChannelSendError {
NotReady,
Rejected(String),
Unavailable,
}Expand description
A channel send can be temporarily blocked without the link having failed.
Variants§
Trait Implementations§
Source§impl Clone for ChannelSendError
impl Clone for ChannelSendError
Source§impl Debug for ChannelSendError
impl Debug for ChannelSendError
Source§impl Display for ChannelSendError
impl Display for ChannelSendError
impl Eq for ChannelSendError
Source§impl Error for ChannelSendError
impl Error for ChannelSendError
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()
Source§impl From<String> for ChannelSendError
impl From<String> for ChannelSendError
Source§impl PartialEq for ChannelSendError
impl PartialEq for ChannelSendError
impl StructuralPartialEq for ChannelSendError
Auto Trait Implementations§
impl Freeze for ChannelSendError
impl RefUnwindSafe for ChannelSendError
impl Send for ChannelSendError
impl Sync for ChannelSendError
impl Unpin for ChannelSendError
impl UnsafeUnpin for ChannelSendError
impl UnwindSafe for ChannelSendError
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> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more