pub trait ReadSeek:
Read
+ Seek
+ Send { }Expand description
Anything that can be both read and seeked, and moved across threads — the
disk view analyse_disk consumes. A blanket impl covers every
Read + Seek + Send, so a decoder’s reader or a plain File both box into
Box<dyn ReadSeek + Send>. Send lets a consumer hand the decoded disk (or
a partition slice of it) to a background mount thread.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".