pub struct SendError<T>(pub T);展开描述
发送值失败时产生的错误。
Tuple Fields§
§0: Ttrait 实现§
源代码§impl<T> Error for SendError<T>
impl<T> Error for SendError<T>
impl<T: Copy> Copy for SendError<T>
impl<T: Eq> Eq for SendError<T>
impl<T> StructuralPartialEq for SendError<T>
自动 trait 实现§
impl<T> Freeze for SendError<T>where
T: Freeze,
impl<T> RefUnwindSafe for SendError<T>where
T: RefUnwindSafe,
impl<T> Send for SendError<T>where
T: Send,
impl<T> Sync for SendError<T>where
T: Sync,
impl<T> Unpin for SendError<T>where
T: Unpin,
impl<T> UnsafeUnpin for SendError<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SendError<T>where
T: UnwindSafe,
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. 更多信息