fidl_fuchsia_posix_socket

Type Alias StreamSocketAcceptResult

Source
pub type StreamSocketAcceptResult = Result<(Option<Box<SocketAddress>>, ClientEnd<StreamSocketMarker>), Errno>;

Aliased Type§

enum StreamSocketAcceptResult {
    Ok((Option<Box<SocketAddress>>, ClientEnd<StreamSocketMarker>)),
    Err(Errno),
}

Variants§

§1.0.0

Ok((Option<Box<SocketAddress>>, ClientEnd<StreamSocketMarker>))

Contains the success value

§1.0.0

Err(Errno)

Contains the error value