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
Metadata
Connected
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
Methods
impl ShoutErr
[src]
Trait Implementations
impl Copy for ShoutErr
[src]
impl Clone for ShoutErr
[src]
fn clone(&self) -> ShoutErr
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