Skip to main content

SourceLegacy

Type Alias SourceLegacy 

Source
pub type SourceLegacy = Result<(String, &'static Encoding, Vec<Warning>), Error>;
Expand description

What decode_source_legacy returns: the text, the code page it was read in and the warnings.

Aliased Type§

pub enum SourceLegacy {
    Ok((String, &'static Encoding, Vec<Warning>)),
    Err(Error),
}

Variants§

§1.0.0

Ok((String, &'static Encoding, Vec<Warning>))

Contains the success value

§1.0.0

Err(Error)

Contains the error value