Struct jackiechan::SendError [−][src]
pub struct SendError<T>(pub T);
Expand description
An error returned from Sender::send()
.
Received because the channel is closed.
Implementations
impl<T> SendError<T>
[src]
impl<T> SendError<T>
[src]pub fn into_inner(self) -> T
[src]
pub fn into_inner(self) -> T
[src]Unwraps the message that couldn’t be sent.
Trait Implementations
impl<T> Error for SendError<T>
[src]
impl<T> Error for SendError<T>
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl<T: Copy> Copy for SendError<T>
[src]
impl<T: Eq> Eq for SendError<T>
[src]
impl<T> StructuralEq for SendError<T>
[src]
impl<T> StructuralPartialEq for SendError<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for SendError<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for SendError<T> where
T: Send,
T: Send,
impl<T> Sync for SendError<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SendError<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SendError<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more