Lines Matching refs:RecvTimeoutError
75 pub enum RecvTimeoutError { enum
329 impl fmt::Display for RecvTimeoutError { implementation
332 RecvTimeoutError::Timeout => "timed out waiting on receive operation".fmt(f), in fmt()
333 RecvTimeoutError::Disconnected => "channel is empty and disconnected".fmt(f), in fmt()
338 impl error::Error for RecvTimeoutError {} implementation
340 impl From<RecvError> for RecvTimeoutError { implementation
341 fn from(err: RecvError) -> RecvTimeoutError { in from() argument
343 RecvError => RecvTimeoutError::Disconnected, in from()
348 impl RecvTimeoutError { impl
353 RecvTimeoutError::Timeout => true, in is_timeout()
362 RecvTimeoutError::Disconnected => true, in is_disconnected()