Lines Matching refs:TipcError
19 use crate::{Deserialize, Serialize, TipcError};
90 Err(TipcError::from_uapi(rc)) in connect()
92 rc.try_into().map(Handle).or(Err(TipcError::InvalidHandle)) in connect()
101 Self::from_raw(rc.try_into().or(Err(TipcError::InvalidHandle))?) in try_clone()
110 Err(TipcError::from_uapi(fd as c_long)) in from_raw()
159 return Err(TipcError::NotEnoughBuffer); in recv_vectored()
187 Err(TipcError::from_uapi(rc)) in recv_vectored()
245 return Err(TipcError::Busy); in send_vectored()
247 return Err(TipcError::ChannelClosed); in send_vectored()
262 Err(TipcError::from_uapi(rc)) in send_vectored()
264 Err(TipcError::IncompleteWrite { num_bytes_written: rc as usize }) in send_vectored()
288 Err(TipcError::from_uapi(rc)) in wait()
314 return Err(TipcError::from_uapi(rc)); in get_msg()
326 Err(ret.err().unwrap_or_else(|| TipcError::from_uapi(put_msg_rc))) in get_msg()
359 Err(TipcError::InvalidHandle) in mmap()
384 type Error = TipcError;
387 self.buffers.try_push(bytes).or(Err(TipcError::AllocError)) in serialize_bytes()
391 self.handles.try_push(Handle(handle.as_raw_fd())).or(Err(TipcError::AllocError)) in serialize_handle()
470 use crate::TipcError;
517 Some(TipcError::InvalidHandle), in wait_negative()
531 Some(TipcError::InvalidHandle), in wait_negative()
537 Some(TipcError::InvalidHandle), in wait_negative()
543 Some(TipcError::InvalidHandle), in wait_negative()
551 Some(TipcError::SystemError(Error::NotFound)), in wait_negative()