Enum rump::WampError [] [src]

pub enum WampError {
    InvalidURL,
    WebSocketError(WebSocketError),
    InternalThreadError,
    ProtocolError,
    DecodeError(DecoderError),
}

Variants

InvalidURL
WebSocketError
InternalThreadError
ProtocolError
DecodeError

Trait Implementations

impl<T> From<SendError<T>> for WampError

fn from(err: SendError<T>) -> WampError

impl From<WebSocketError> for WampError

fn from(err: WebSocketError) -> WampError

Derived Implementations

impl Debug for WampError

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