pub trait Size { // Required method fn size(&self) -> Result<u64>; }
The Size trait allows for getting the size of a stream.
Size
Returns the size of the stream.