1use std::io::{Seek, Write}; 2 3pub trait WriteTo: Write + Seek {} 4 5impl<T: Write + Seek> WriteTo for T {}