pub type ReceivePacketResult = Result<(Packet, SocketAddr), ReceivePacketError>;

Aliased Type§

enum ReceivePacketResult {
    Ok((Packet, SocketAddr)),
    Err(ReceivePacketError),
}

Variants§

§1.0.0

Ok((Packet, SocketAddr))

Contains the success value

§1.0.0

Err(ReceivePacketError)

Contains the error value