Enum xbdm::StatusCode [] [src]

pub enum StatusCode {
    Ok,
    Connected,
    MultilineResponseFollows,
    BinaryResponseFollows,
    SendBinaryData,
    ConnectionDedicated,
    UnexpectedError,
    MaxConnectionsExceeded,
    FileNotFound,
    NoSuchModule,
    MemoryNotMapped,
    NoSuchThread,
    ClockNotSet,
    UnknownCommand,
    NotStopped,
    MustCopy,
    FileExists,
    NotEmpty,
    InvalidFilename,
    CannotCreate,
    AccessDenied,
    DeviceFull,
    NotDebuggable,
    InvalidCounterType,
    NoCounterData,
    NotLocked,
    NeedKeyExchange,
    MustBeDedicated,
    Other(u16),
}

A status code returned by an XBDM command.

Variants

200- OK

201- connected

202- multiline response follows

203- binary response follows

204- send binary data

205- connection dedicated

400- unexpected error

401- max number of connections exceeded

402- file not found

403- no such module

404- memory not mapped

405- no such thread

406-

407- unknown command

408- not stopped

409- file must be copied

410- file already exists

411- directory not empty

412- filename is invalid

413- file cannot be created

414- access denied

415- no room on device

416- not debuggable

417- type invalid

418- data not available

420- box not locked

421- key exchange required

422- dedicated connection required

Methods

impl StatusCode
[src]

Trait Implementations

impl Clone for StatusCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StatusCode
[src]

Formats the value using the given formatter.

impl PartialEq for StatusCode
[src]

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

This method tests for !=.

impl Eq for StatusCode
[src]

impl Copy for StatusCode
[src]

impl Display for StatusCode
[src]

Formats the value using the given formatter. Read more

impl IntoIterator for StatusCode
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more