Lines Matching defs:Error
31 type Error; typedef
34 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error>; in read_exact()
43 type Error; typedef
46 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error>; in write_all()
49 fn flush(&mut self) -> Result<(), Self::Error>; in flush()
54 type Error = std::io::Error; typedef
57 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
64 type Error = std::io::Error; typedef
67 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
72 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
79 type Error = R::Error; typedef
82 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
89 type Error = W::Error; typedef
92 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
97 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
109 type Error = EndOfFile; typedef
112 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
131 type Error = OutOfSpace; typedef
134 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
146 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
153 type Error = core::convert::Infallible; typedef
156 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
162 fn flush(&mut self) -> Result<(), Self::Error> { in flush()