Lines Matching refs:TryRecvError
60 pub enum TryRecvError { enum
290 impl fmt::Display for TryRecvError { implementation
293 TryRecvError::Empty => "receiving on an empty channel".fmt(f), in fmt()
294 TryRecvError::Disconnected => "receiving on an empty and disconnected channel".fmt(f), in fmt()
299 impl error::Error for TryRecvError {} implementation
301 impl From<RecvError> for TryRecvError { implementation
302 fn from(err: RecvError) -> TryRecvError { in from() argument
304 RecvError => TryRecvError::Disconnected, in from()
309 impl TryRecvError { implementation
314 TryRecvError::Empty => true, in is_empty()
323 TryRecvError::Disconnected => true, in is_disconnected()