Home
last modified time | relevance | path

Searched refs:HwBccError (Results 1 – 2 of 2) sorted by relevance

/trusty/user/base/lib/hwbcc/rust/src/
Derr.rs23 pub enum HwBccError { enum
34 impl From<TipcError> for HwBccError { implementation
36 HwBccError::Tipc(err) in from()
40 impl From<Error> for HwBccError { implementation
42 HwBccError::System(err) in from()
46 impl From<TryFromIntError> for HwBccError { implementation
48 HwBccError::OutOfBounds in from()
52 impl From<AllocError> for HwBccError { implementation
54 HwBccError::AllocError in from()
Dlib.rs41 pub use err::HwBccError;
65 fn validate_response(self, resp: u32) -> Result<(), HwBccError> { in validate_response() argument
68 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() argument
226 return Err(HwBccError::System(Error::from(response.status as c_long))); in recv_resp()
[all …]