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 for GenericError
impl PartialEq for GenericError
impl StructuralPartialEq for GenericError
Auto Trait Implementations§
impl Freeze for GenericError
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