Lines Matching refs:BytesWriteError
3 bytes_errors::{BytesWriteError, BytesWriteErrorValue},
29 pub fn write_u8(&mut self, byte: u8) -> Result<(), BytesWriteError> { in write_u8() argument
34 pub fn or_u8_at(&mut self, position: usize, byte: u8) -> Result<(), BytesWriteError> { in or_u8_at() argument
36 return Err(BytesWriteError { in or_u8_at()
45 pub fn add_u8_at(&mut self, position: usize, byte: u8) -> Result<(), BytesWriteError> { in add_u8_at() argument
47 return Err(BytesWriteError { in add_u8_at()
56 pub fn write_u8_at(&mut self, position: usize, byte: u8) -> Result<(), BytesWriteError> { in write_u8_at() argument
58 return Err(BytesWriteError { in write_u8_at()
71 pub fn write_u16<T: ByteOrder>(&mut self, bytes: u16) -> Result<(), BytesWriteError> { in write_u16() argument
76 pub fn write_u24<T: ByteOrder>(&mut self, bytes: u32) -> Result<(), BytesWriteError> { in write_u24() argument
82 pub fn write_u32<T: ByteOrder>(&mut self, bytes: u32) -> Result<(), BytesWriteError> { in write_u32() argument
87 pub fn write_f64<T: ByteOrder>(&mut self, bytes: f64) -> Result<(), BytesWriteError> { in write_f64() argument
92 pub fn write_u64<T: ByteOrder>(&mut self, bytes: u64) -> Result<(), BytesWriteError> { in write_u64() argument
97 pub fn write(&mut self, buf: &[u8]) -> Result<(), BytesWriteError> { in write() argument
102 pub fn prepend(&mut self, buf: &[u8]) -> Result<(), BytesWriteError> { in prepend() argument
114 pub fn write_random_bytes(&mut self, length: u32) -> Result<(), BytesWriteError> { in write_random_bytes() argument
167 pub fn write_u8(&mut self, byte: u8) -> Result<(), BytesWriteError> { in write_u8() argument
171 pub fn write_u16<T: ByteOrder>(&mut self, bytes: u16) -> Result<(), BytesWriteError> { in write_u16() argument
175 pub fn write_u24<T: ByteOrder>(&mut self, bytes: u32) -> Result<(), BytesWriteError> { in write_u24() argument
179 pub fn write_u32<T: ByteOrder>(&mut self, bytes: u32) -> Result<(), BytesWriteError> { in write_u32() argument
183 pub fn write_f64<T: ByteOrder>(&mut self, bytes: f64) -> Result<(), BytesWriteError> { in write_f64() argument
187 pub fn write(&mut self, buf: &[u8]) -> Result<(), BytesWriteError> { in write() argument
191 pub fn write_random_bytes(&mut self, length: u32) -> Result<(), BytesWriteError> { in write_random_bytes() argument
199 pub async fn flush(&mut self) -> Result<(), BytesWriteError> { in flush() argument
209 pub async fn flush_timeout(&mut self, duration: Duration) -> Result<(), BytesWriteError> { in flush_timeout() argument
224 return Err(BytesWriteError { in flush_timeout()