Struct uosql::types::ClientErrMsg [] [src]

pub struct ClientErrMsg {
    pub msg: String,
    // some fields omitted
}

Struct to send the kind of error and error message to the client

Fields

msg

Trait Implementations

impl From<Error> for ClientErrMsg

Convert the possible Error to a serializable ClientErrMsg struct

fn from(error: Error) -> ClientErrMsg

Derived Implementations

impl Debug for ClientErrMsg

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

impl Decodable for ClientErrMsg

fn decode<__D>(__arg_0: &mut __D) -> Result<ClientErrMsg, __D::Error> where __D: Decoder

impl Encodable for ClientErrMsg

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