Struct std::sync::mpsc::RecvError 1.0.0[−][src]
pub struct RecvError;Expand description
仅当 channel (或 sync_channel) 的发送半部断开连接时,recv 操作才会失败,这意味着将再也不会收到任何消息。
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
将 RecvError 转换为 TryRecvError。
此转换始终返回 TryRecvError::Disconnected。
没有在堆上分配数据。
将 RecvError 转换为 RecvTimeoutError。
此转换始终返回 RecvTimeoutError::Disconnected。
没有在堆上分配数据。