pub trait Write { type Error; // Required method fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Self::Error>; }