Lines Matching refs:ReadCmdError
23 pub enum ReadCmdError { enum
34 impl fmt::Display for ReadCmdError { implementation
36 use self::ReadCmdError::*; in fmt()
46 impl std::error::Error for ReadCmdError {} implementation
48 impl From<io::Error> for ReadCmdError { implementation
49 fn from(e: io::Error) -> ReadCmdError { in from() argument
50 ReadCmdError::IoError(e) in from()
123 pub fn from_reader(r: &'a mut Reader) -> Result<Self, ReadCmdError> { in from_reader() argument
124 use self::ReadCmdError::*; in from_reader()
282 return Err(ReadCmdError::UnsupportedCtrlType(t)); in from_reader()
295 return Err(ReadCmdError::UnsupportedCtrlType(t)); in from_reader()
323 return Err(ReadCmdError::UnsupportedCtrlType(t)); in from_reader()
331 _ => return Err(ReadCmdError::InvalidCmdType(hdr.type_.into())), in from_reader()