pub struct Error<'a> {
pub err_code: Option<u32>,
pub err_msg: Option<Cow<'a, str>>,
pub param_errs: Vec<ParamError<'a>>,
}
Fields§
§err_code: Option<u32>
§err_msg: Option<Cow<'a, str>>
§param_errs: Vec<ParamError<'a>>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Error<'a>
impl<'a> MessageRead<'a> for Error<'a>
source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read more