Lines Matching refs:BytesIOError
15 use super::bytesio_errors::{BytesIOError, BytesIOErrorValue};
24 async fn write(&mut self, bytes: Bytes) -> Result<(), BytesIOError>; in write() argument
25 async fn read(&mut self) -> Result<BytesMut, BytesIOError>; in read() argument
26 async fn read_timeout(&mut self, duration: Duration) -> Result<BytesMut, BytesIOError>; in read_timeout() argument
68 async fn write(&mut self, bytes: Bytes) -> Result<(), BytesIOError> { in write() argument
73 async fn read_timeout(&mut self, duration: Duration) -> Result<BytesMut, BytesIOError> { in read_timeout() argument
76 Err(err) => Err(BytesIOError { in read_timeout()
82 async fn read(&mut self) -> Result<BytesMut, BytesIOError> { in read() argument
112 async fn write(&mut self, bytes: Bytes) -> Result<(), BytesIOError> { in write() argument
118 async fn read_timeout(&mut self, duration: Duration) -> Result<BytesMut, BytesIOError> { in read_timeout() argument
121 Err(err) => Err(BytesIOError { in read_timeout()
127 async fn read(&mut self) -> Result<BytesMut, BytesIOError> { in read() argument
133 Err(err) => Err(BytesIOError { in read()
137 None => Err(BytesIOError { in read()