Home
last modified time | relevance | path

Searched refs:BytesIOError (Results 1 – 7 of 7) sorted by relevance

/xiu/library/bytesio/src/
H A Dbytes_errors.rs1 use super::bytesio_errors::BytesIOError;
19 BytesIOError(BytesIOError), enumerator
43 impl From<BytesIOError> for BytesReadError {
44 fn from(error: BytesIOError) -> Self { in from()
46 value: BytesReadErrorValue::BytesIOError(error), in from()
69 BytesIOError(BytesIOError), enumerator
84 impl From<BytesIOError> for BytesWriteError {
85 fn from(error: BytesIOError) -> Self { in from()
87 value: BytesWriteErrorValue::BytesIOError(error), in from()
H A Dbytesio_errors.rs20 pub struct BytesIOError { struct
24 impl From<BytesIOErrorValue> for BytesIOError { implementation
26 BytesIOError { value: val } in from()
30 impl From<io::Error> for BytesIOError { implementation
32 BytesIOError { in from()
46 impl fmt::Display for BytesIOError { implementation
52 impl Fail for BytesIOError { implementation
H A Dbytesio.rs15 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
68 async fn write(&mut self, bytes: Bytes) -> Result<(), BytesIOError> { in write() 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
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()
[all …]
/xiu/protocol/rtsp/src/session/
H A Derrors.rs4 bytesio::{bytes_errors::BytesWriteError, bytesio_errors::BytesIOError},
20 BytesIOError(#[cause] BytesIOError), enumerator
43 impl From<BytesIOError> for SessionError {
44 fn from(error: BytesIOError) -> Self { in from()
46 value: SessionErrorValue::BytesIOError(error), in from()
/xiu/protocol/webrtc/src/session/
H A Derrors.rs4 bytesio::{bytes_errors::BytesWriteError, bytesio_errors::BytesIOError},
20 BytesIOError(#[cause] BytesIOError), enumerator
57 impl From<BytesIOError> for SessionError {
58 fn from(error: BytesIOError) -> Self { in from()
60 value: SessionErrorValue::BytesIOError(error), in from()
/xiu/protocol/rtmp/src/session/
H A Derrors.rs13 bytesio::{bytes_errors::BytesWriteError, bytesio_errors::BytesIOError},
48 BytesIOError(#[cause] BytesIOError), enumerator
156 impl From<BytesIOError> for SessionError {
157 fn from(error: BytesIOError) -> Self { in from()
159 value: SessionErrorValue::BytesIOError(error), in from()
H A Dserver_session.rs172 value: SessionErrorValue::BytesIOError(err), in read_parse_chunks()