Skip to main content

StreamItem

Type Alias StreamItem 

Source
type StreamItem = Result<(Stream, SocketAddr)>;
Expand description

The type of the result from an IncomingStreams.

Aliased Type§

enum StreamItem {
    Ok((Stream, SocketAddr)),
    Err(Error),
}

Variants§

§1.0.0

Ok((Stream, SocketAddr))

Contains the success value

§1.0.0

Err(Error)

Contains the error value