Skip to main content

FromUtf8IterResult

Type Alias FromUtf8IterResult 

Source
pub type FromUtf8IterResult<TAnyBin> = Result<AnyStr<TAnyBin>, AnyStrUtf8Error<TAnyBin>>;
Expand description

The result produced by from_utf8_iter. Is either a AnyStr or an AnyStrUtf8Error on error (invalid UTF-8).

Aliased Type§

pub enum FromUtf8IterResult<TAnyBin> {
    Ok(AnyStr<TAnyBin>),
    Err(AnyStrUtf8Error<TAnyBin>),
}

Variants§

§1.0.0

Ok(AnyStr<TAnyBin>)

Contains the success value

§1.0.0

Err(AnyStrUtf8Error<TAnyBin>)

Contains the error value