Skip to main content

Opened

Type Alias Opened 

Source
pub type Opened<S> = Result<(S, Option<u64>), String>;
Expand description

What opening a download answers: its stream or reader and its length, when the source gave one, or why it could not be opened.

Aliased Type§

pub enum Opened<S> {
    Ok((S, Option<u64>)),
    Err(String),
}

Variants§

§1.0.0

Ok((S, Option<u64>))

Contains the success value

§1.0.0

Err(String)

Contains the error value