Lines Matching refs:Error
44 pub enum Error {
46 IO(std::io::Error),
51 impl From<Infallible> for Error {
58 impl From<AllocError> for Error {
66 pub fn new(data: T) -> impl PinInit<Self, Error> {
67 fn init_raw() -> impl PinInit<UnsafeCell<libc::pthread_mutex_t>, Error> {
76 return Err(Error::IO(std::io::Error::from_raw_os_error(ret)));
85 return Err(Error::IO(std::io::Error::from_raw_os_error(ret)));
94 return Err(Error::IO(std::io::Error::from_raw_os_error(ret)));
105 }? Error)