Enum ublox_cellular::command::ip_transport_layer::types::SocketControlParam[][src]

pub enum SocketControlParam {
    SocketType,
    LastSocketError,
    BytesSent,
    BytesReceived,
    RemotePeerSocketAddr,
    SocketStatus,
    OutgoingUnackData,
}
Expand description

Control request identifier

Variants

SocketType

0: query for socket type

LastSocketError

1: query for last socket error

BytesSent

2: get the total amount of bytes sent from the socket

BytesReceived

3: get the total amount of bytes received by the socket

RemotePeerSocketAddr

4: query for remote peer IP address and port

SocketStatus

10: query for TCP socket status (only TCP sockets)

OutgoingUnackData

11: query for TCP outgoing unacknowledged data (only TCP sockets)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.