Lines Matching defs:Error
33 type Error; typedef
36 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error>; in read_exact()
45 type Error; typedef
48 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error>; in write_all()
51 fn flush(&mut self) -> Result<(), Self::Error>; in flush()
56 type Error = std::io::Error; typedef
59 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
66 type Error = std::io::Error; typedef
69 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
74 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
81 type Error = R::Error; typedef
84 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
91 type Error = W::Error; typedef
94 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
99 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
111 type Error = EndOfFile; typedef
114 fn read_exact(&mut self, data: &mut [u8]) -> Result<(), Self::Error> { in read_exact()
133 type Error = OutOfSpace; typedef
136 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
148 fn flush(&mut self) -> Result<(), Self::Error> { in flush()
155 type Error = core::convert::Infallible; typedef
158 fn write_all(&mut self, data: &[u8]) -> Result<(), Self::Error> { in write_all()
164 fn flush(&mut self) -> Result<(), Self::Error> { in flush()