pub trait IntoFileAccess: Send + Unpin + 'static {
    type Output: FileAccess;

    fn into_file_access(self) -> Self::Output;
}
Expand description

Trait that converts a file handle into something that implements FileAccess.

This trait is called when streaming starts, and exists as a separate step so that buffer allocation doesn’t have to happen until that point.

Required Associated Types§

Target type that implements FileAccess.

Required Methods§

Convert into a type that implements FileAccess.

Implementations on Foreign Types§

Implementors§