pub struct GenericError {
pub error_code: i32,
}
Fields§
§error_code: i32
Trait Implementations§
source§impl BaseParser for GenericError
impl BaseParser for GenericError
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for GenericError
impl Clone for GenericError
source§fn clone(&self) -> GenericError
fn clone(&self) -> GenericError
Returns a copy 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 GenericError
impl Debug for GenericError
source§impl Default for GenericError
impl Default for GenericError
source§fn default() -> GenericError
fn default() -> GenericError
Returns the “default value” for a type. Read more
source§impl PacketVariable for GenericError
impl PacketVariable for GenericError
source§impl PartialEq<GenericError> for GenericError
impl PartialEq<GenericError> for GenericError
source§fn eq(&self, other: &GenericError) -> bool
fn eq(&self, other: &GenericError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GenericError
Auto Trait Implementations§
impl RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl UnwindSafe for GenericError
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