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