pub struct CommandFailure {
pub err_code: u32,
pub err_msg: String,
}Fields§
§err_code: u32§err_msg: StringTrait Implementations§
Source§impl Clone for CommandFailure
impl Clone for CommandFailure
Source§fn clone(&self) -> CommandFailure
fn clone(&self) -> CommandFailure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandFailure
impl Debug for CommandFailure
Source§impl Default for CommandFailure
impl Default for CommandFailure
Source§fn default() -> CommandFailure
fn default() -> CommandFailure
Returns the “default value” for a type. Read more
Source§impl<'a> MessageRead<'a> for CommandFailure
impl<'a> MessageRead<'a> for CommandFailure
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 moreSource§impl MessageWrite for CommandFailure
impl MessageWrite for CommandFailure
Source§impl PartialEq for CommandFailure
impl PartialEq for CommandFailure
Source§impl Serialize for CommandFailure
impl Serialize for CommandFailure
impl StructuralPartialEq for CommandFailure
Auto Trait Implementations§
impl Freeze for CommandFailure
impl RefUnwindSafe for CommandFailure
impl Send for CommandFailure
impl Sync for CommandFailure
impl Unpin for CommandFailure
impl UnwindSafe for CommandFailure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more