pub struct BotError {
pub error_code: i32,
}
Fields§
§error_code: i32
Trait Implementations§
Source§impl BaseParser for BotError
impl BaseParser for BotError
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 PacketVariable for BotError
impl PacketVariable for BotError
impl StructuralPartialEq for BotError
Auto Trait Implementations§
impl Freeze for BotError
impl RefUnwindSafe for BotError
impl Send for BotError
impl Sync for BotError
impl Unpin for BotError
impl UnwindSafe for BotError
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