Enum sbd::mo::SessionStatus [] [src]

pub enum SessionStatus {
    Ok,
    OkMobileTerminatedTooLarge,
    OkLocationUnacceptableQuality,
    Timeout,
    MobileOriginatedTooLarge,
    RFLinkLoss,
    IMEIProtocolAnomaly,
    Prohibited,
    Unknown,
}

The status of a mobile-originated session.

The descriptions for these codes are taken directly from the DirectIP documentation.

Variants

Ok

The SBD session completed successfully.

OkMobileTerminatedTooLarge

The MO message transfer, if any, was successful. The MT message queued at the GSS is too large to be transferred within a single SBD session.

OkLocationUnacceptableQuality

The MO message transfer, if any, was successful. The reported location was determined to be of unacceptable quality. This value is only applicable to IMEIs using SBD protocol revision 1.

Timeout

The SBD session timed out before session completion.

MobileOriginatedTooLarge

The MO message being transferred by the IMEI is too large to be transerred within a single SBD session.

RFLinkLoss

An RF link loss ocurred during the SBD session.

IMEIProtocolAnomaly

An IMEI protocol anomaly occurred during SBD session.

Prohibited

The IMEI is prohibited from accessing the GSS.

Unknown

Unknown session status code.

Trait Implementations

impl Encodable for SessionStatus
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl PartialEq for SessionStatus
[src]

fn eq(&self, __arg_0: &SessionStatus) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Eq for SessionStatus
[src]

impl Debug for SessionStatus
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for SessionStatus
[src]

fn clone(&self) -> SessionStatus

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for SessionStatus
[src]

impl Default for SessionStatus
[src]

fn default() -> SessionStatus

Returns the "default value" for a type. Read more

impl From<u8> for SessionStatus
[src]

fn from(n: u8) -> Self

Performs the conversion.