Searched refs:HwBccError (Results 1 – 2 of 2) sorted by relevance
23 pub enum HwBccError { enum34 impl From<TipcError> for HwBccError { implementation36 HwBccError::Tipc(err) in from()40 impl From<Error> for HwBccError { implementation42 HwBccError::System(err) in from()46 impl From<TryFromIntError> for HwBccError { implementation48 HwBccError::OutOfBounds in from()52 impl From<AllocError> for HwBccError { implementation54 HwBccError::AllocError in from()
41 pub use err::HwBccError;65 fn validate_response(self, resp: u32) -> Result<(), HwBccError> { in validate_response() argument68 return Err(HwBccError::InvalidCmdResponse); in validate_response()158 type Error = HwBccError;166 return Err(HwBccError::InvalidCmdResponse); in deserialize()172 return Err(HwBccError::BadLen); in deserialize()182 return Err(HwBccError::BadLen); in deserialize()189 return Err(HwBccError::BadLen); in deserialize()219 fn recv_resp(session: &Handle, cmd: BccCmd, buf: &mut [u8]) -> Result<HwBccResponse, HwBccError> { in recv_resp() argument226 return Err(HwBccError::System(Error::from(response.status as c_long))); in recv_resp()[all …]