(&mut self, value: W)
| 83 | type Error = PgError; |
| 84 | |
| 85 | fn write<W: std::fmt::Display>(&mut self, value: W) -> Result<(), Self::Error> { |
| 86 | self.encoder.encode_field(&value.to_string())?; |
| 87 | Ok(()) |
| 88 | } |
| 89 | |
| 90 | fn write_bool(&mut self, value: bool) -> Result<(), Self::Error> { |
| 91 | self.encoder.encode_field(&value)?; |