Enum shout::ShoutErr [] [src]

pub enum ShoutErr {
    Success,
    Insane,
    NoConnect,
    NoLogin,
    Socket,
    Malloc,
    Metadata,
    Connected,
    Unconnected,
    Unsupported,
    Busy,
    NoTLS,
    TLSBadCert,
    Retry,
}

Type representing the return of a call to a libshout function. The Success value should never be returned as an error by this library.

Variants

Success

No error

Insane

Nonsensical arguments

NoConnect

Couldn't connect

NoLogin

Login failed

Socket

Socket error

Malloc

Out of memory

MetadataConnected

Cannot set parameter while connected

Unconnected

Not connected

Unsupported

This libshout version doesn't support the requested operation

Busy

The socket is busy

NoTLS

TLS requested but not supported by the peer

TLSBadCert

TLS connection cannot be established due to bad certificate

Retry

Retry last operation

Trait Implementations

impl Debug for ShoutErr
[src]

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

Formats the value using the given formatter.