Lines Matching refs:Error
8 Error, ErrorExt,
40 async fn get_filetype(&self) -> Result<FileType, Error> { in get_filetype() argument
47 async fn read_vectored<'a>(&self, bufs: &mut [io::IoSliceMut<'a>]) -> Result<u64, Error> { in read_vectored() argument
49 Ok(n.try_into().map_err(|_| Error::range())?) in read_vectored()
55 ) -> Result<u64, Error> { in read_vectored_at() argument
56 Err(Error::seek_pipe()) in read_vectored_at()
58 async fn seek(&self, _pos: std::io::SeekFrom) -> Result<u64, Error> { in seek() argument
59 Err(Error::seek_pipe()) in seek()
61 async fn peek(&self, _buf: &mut [u8]) -> Result<u64, Error> { in peek() argument
62 Err(Error::seek_pipe()) in peek()
68 ) -> Result<(), Error> { in set_times() argument
73 fn num_ready_bytes(&self) -> Result<u64, Error> { in num_ready_bytes() argument
118 async fn get_filetype(&self) -> Result<FileType, Error> {
125 async fn get_fdflags(&self) -> Result<FdFlags, Error> {
128 async fn write_vectored<'a>(&self, bufs: &[io::IoSlice<'a>]) -> Result<u64, Error> {
136 Error::range().context("converting write_vectored total length")
143 ) -> Result<u64, Error> {
144 Err(Error::seek_pipe())
146 async fn seek(&self, _pos: std::io::SeekFrom) -> Result<u64, Error> {
147 Err(Error::seek_pipe())
153 ) -> Result<(), Error> {