Skip to main content

ReadSeekSend

Trait ReadSeekSend 

Source
pub trait ReadSeekSend:
    Read
    + Seek
    + Send { }
Expand description

A boxed Read + Seek + Send reader that can be used as a Backing::Reader.

Any type implementing Read + Seek + Send satisfies this trait via the blanket impl below. This is the trait [VhdxReader::open_reader] accepts so the forensic-vfs engine can hand a SourceCursor (which is Read + Seek + Send) straight to the VHDX parser without forensic-vfs appearing in the production dependency tree.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Read + Seek + Send> ReadSeekSend for T