Home
last modified time | relevance | path

Searched refs:BytesReadError (Results 1 – 20 of 20) sorted by relevance

/xiu/library/bytesio/src/
H A Dbytes_reader.rs3 bytes_errors::{BytesReadError, BytesReadErrorValue},
34 return Err(BytesReadError { in read_bytes()
43 return Err(BytesReadError { in advance_bytes()
55 ) -> Result<Cursor<BytesMut>, BytesReadError> { in read_bytes_cursor() argument
64 ) -> Result<Cursor<BytesMut>, BytesReadError> { in advance_bytes_cursor() argument
70 pub fn read_u8(&mut self) -> Result<u8, BytesReadError> { in read_u8() argument
76 pub fn advance_u8(&mut self) -> Result<u8, BytesReadError> { in advance_u8() argument
128 return Err(BytesReadError { in get()
167 pub async fn read(&mut self) -> Result<(), BytesReadError> { in read() argument
194 ) -> Result<Cursor<BytesMut>, BytesReadError> { in read_bytes_cursor() argument
[all …]
H A Dbytes_errors.rs25 pub struct BytesReadError { struct
29 impl From<BytesReadErrorValue> for BytesReadError { implementation
31 BytesReadError { value: val } in from()
35 impl From<io::Error> for BytesReadError { implementation
37 BytesReadError { in from()
43 impl From<BytesIOError> for BytesReadError { implementation
45 BytesReadError { in from()
92 impl fmt::Display for BytesReadError { implementation
98 impl Fail for BytesReadError { implementation
H A Dbits_errors.rs1 use super::bytes_errors::BytesReadError;
9 BytesReadError(BytesReadError), enumerator
30 impl From<BytesReadError> for BitError {
31 fn from(error: BytesReadError) -> Self { in from()
33 value: BitErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtsp/src/rtp/
H A Derrors.rs6 use bytesio::bytes_errors::BytesReadError;
33 BytesReadError(BytesReadError), enumerator
38 impl From<BytesReadError> for PackerError {
39 fn from(error: BytesReadError) -> Self { in from()
41 value: PackerErrorValue::BytesReadError(error), in from()
62 BytesReadError(BytesReadError), enumerator
67 impl From<BytesReadError> for UnPackerError {
68 fn from(error: BytesReadError) -> Self { in from()
70 value: UnPackerErrorValue::BytesReadError(error), in from()
H A Drtp_header.rs3 use bytesio::bytes_errors::BytesReadError;
25 impl Unmarshal<&mut BytesReader, Result<Self, BytesReadError>> for RtpHeader {
26 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal()
H A Dmod.rs12 use bytesio::bytes_errors::BytesReadError;
31 impl Unmarshal<&mut BytesReader, Result<Self, BytesReadError>> for RtpPacket {
33 fn unmarshal(reader: &mut BytesReader) -> Result<Self, BytesReadError> in unmarshal()
/xiu/protocol/rtsp/src/rtp/rtcp/
H A Derrors.rs1 use bytesio::bytes_errors::BytesReadError;
13 BytesReadError(BytesReadError), enumerator
18 impl From<BytesReadError> for RtcpError {
19 fn from(error: BytesReadError) -> Self { in from()
21 value: RtcpErrorValue::BytesReadError(error), in from()
/xiu/library/container/flv/src/
H A Derrors.rs3 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
12 BytesReadError(BytesReadError), enumerator
23 impl From<BytesReadError> for TagParseError {
24 fn from(error: BytesReadError) -> Self { in from()
95 BytesReadError(#[cause] BytesReadError), enumerator
110 impl From<BytesReadError> for FlvDemuxerError {
111 fn from(error: BytesReadError) -> Self { in from()
153 BytesReadError(#[cause] BytesReadError), enumerator
173 fn from(error: BytesReadError) -> Self { in from()
217 impl From<BytesReadError> for MpegAacError {
[all …]
/xiu/protocol/rtmp/src/handshake/
H A Derrors.rs2 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
10 BytesReadError(BytesReadError), enumerator
44 impl From<BytesReadError> for HandshakeError {
45 fn from(error: BytesReadError) -> Self { in from()
47 value: HandshakeErrorValue::BytesReadError(error), in from()
100 BytesReadError(BytesReadError), enumerator
109 impl From<BytesReadError> for DigestError {
110 fn from(error: BytesReadError) -> Self { in from()
112 value: DigestErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/user_control_messages/
H A Derrors.rs4 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
20 BytesReadError(BytesReadError), enumerator
41 impl From<BytesReadError> for EventMessagesError {
42 fn from(error: BytesReadError) -> Self { in from()
44 value: EventMessagesErrorValue::BytesReadError(error), in from()
/xiu/library/streamhub/src/
H A Derrors.rs1 use bytesio::bytes_errors::BytesReadError;
23 BytesReadError(BytesReadError), enumerator
50 impl From<BytesReadError> for ChannelError {
51 fn from(error: BytesReadError) -> Self { in from()
53 value: ChannelErrorValue::BytesReadError(error), in from()
/xiu/library/container/mpegts/src/
H A Derrors.rs2 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
11 BytesReadError(BytesReadError), enumerator
36 impl From<BytesReadError> for MpegTsError {
37 fn from(error: BytesReadError) -> Self { in from()
39 value: MpegTsErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/protocol_control_messages/
H A Derrors.rs3 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
51 BytesReadError(BytesReadError), enumerator
54 impl From<BytesReadError> for ProtocolControlMessageReaderError {
55 fn from(error: BytesReadError) -> Self { in from()
57 value: ProtocolControlMessageReaderErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/messages/
H A Derrors.rs8 bytesio::bytes_errors::BytesReadError,
15 BytesReadError(BytesReadError), enumerator
39 impl From<BytesReadError> for MessageError {
40 fn from(error: BytesReadError) -> Self { in from()
42 value: MessageErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/chunk/
H A Derrors.rs3 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
10 BytesReadError(BytesReadError), enumerator
31 impl From<BytesReadError> for UnpackError {
32 fn from(error: BytesReadError) -> Self { in from()
34 value: UnpackErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/amf0/
H A Derrors.rs2 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
16 BytesReadError(BytesReadError), enumerator
34 impl From<BytesReadError> for Amf0ReadError {
35 fn from(error: BytesReadError) -> Self { in from()
37 value: Amf0ReadErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/cache/
H A Derrors.rs3 bytesio::bytes_errors::BytesReadError,
21 BytesReadError(BytesReadError), enumerator
68 impl From<BytesReadError> for CacheError {
69 fn from(error: BytesReadError) -> Self { in from()
71 value: CacheErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtsp/src/session/
H A Derrors.rs3 bytesio::bytes_errors::BytesReadError,
22 BytesReadError(#[cause] BytesReadError), enumerator
51 impl From<BytesReadError> for SessionError {
52 fn from(error: BytesReadError) -> Self { in from()
54 value: SessionErrorValue::BytesReadError(error), in from()
/xiu/protocol/webrtc/src/session/
H A Derrors.rs3 bytesio::bytes_errors::BytesReadError,
22 BytesReadError(#[cause] BytesReadError), enumerator
65 impl From<BytesReadError> for SessionError {
66 fn from(error: BytesReadError) -> Self { in from()
68 value: SessionErrorValue::BytesReadError(error), in from()
/xiu/protocol/rtmp/src/remuxer/
H A Derrors.rs5 bytesio::bytes_errors::{BytesReadError, BytesWriteError},
32 BytesReadError(#[cause] BytesReadError), enumerator
80 impl From<BytesReadError> for RtmpRemuxerError {
81 fn from(error: BytesReadError) -> Self { in from()
83 value: RtmpRemuxerErrorValue::BytesReadError(error), in from()