Home
last modified time | relevance | path

Searched refs:BitError (Results 1 – 5 of 5) sorted by relevance

/xiu/library/bytesio/src/
H A Dbits_errors.rs20 pub struct BitError { struct
24 impl From<BitErrorValue> for BitError { implementation
26 BitError { value: val } in from()
30 impl From<BytesReadError> for BitError { implementation
32 BitError { in from()
38 impl From<BytesWriteError> for BitError { implementation
40 BitError { in from()
54 impl fmt::Display for BitError { implementation
60 impl Fail for BitError { implementation
H A Dbits_writer.rs3 bits_errors::{BitError, BitErrorValue},
24 pub fn write_bytes(&mut self, data: BytesMut) -> Result<(), BitError> { in write_bytes() argument
29 pub fn write_bit(&mut self, b: u8) -> Result<(), BitError> { in write_bit() argument
42 pub fn write_8bit(&mut self, b: u8) -> Result<(), BitError> { in write_8bit() argument
44 return Err(BitError { in write_8bit()
53 fn flush(&mut self) -> Result<(), BitError> { in flush() argument
66 pub fn write_n_bits(&mut self, data: u64, bit_num: usize) -> Result<(), BitError> { in write_n_bits() argument
68 return Err(BitError { in write_n_bits()
109 pub fn bits_aligment_8(&mut self) -> Result<(), BitError> { in bits_aligment_8() argument
H A Dbits_reader.rs2 super::bits_errors::{BitError, BitErrorValue},
34 pub fn read_byte(&mut self) -> Result<u8, BitError> { in read_byte() argument
36 return Err(BitError { in read_byte()
45 pub fn read_bit(&mut self) -> Result<u8, BitError> { in read_bit() argument
54 pub fn read_n_bits(&mut self, n: usize) -> Result<u64, BitError> { in read_n_bits() argument
/xiu/library/codec/h264/src/
H A Derrors.rs1 use bytesio::bits_errors::BitError;
8 BitError(BitError), enumerator
15 impl From<BitError> for H264Error {
16 fn from(error: BitError) -> Self { in from()
18 value: H264ErrorValue::BitError(error), in from()
/xiu/library/container/flv/src/
H A Derrors.rs2 bytesio::bits_errors::BitError,
157 BitError(#[cause] BitError), enumerator
233 impl From<BitError> for MpegAacError {
234 fn from(error: BitError) -> Self { in from()
236 value: MpegErrorValue::BitError(error), in from()