pub trait InterceptIndicator {
// Required method
fn get_habbo_header_id(
&self,
direction: HDirection,
packet_info_manager: &mut PacketInfoManager,
) -> Option<i16>;
// Provided methods
fn matches_habbo_header_id(
&self,
direction: HDirection,
packet_info_manager: &mut PacketInfoManager,
header_id: i16,
) -> bool { ... }
fn is_raw_habbo_header_id() -> bool { ... }
fn get_habbo_header_name(&self) -> String { ... }
}Required Methods§
fn get_habbo_header_id( &self, direction: HDirection, packet_info_manager: &mut PacketInfoManager, ) -> Option<i16>
Provided Methods§
fn matches_habbo_header_id( &self, direction: HDirection, packet_info_manager: &mut PacketInfoManager, header_id: i16, ) -> bool
fn is_raw_habbo_header_id() -> bool
fn get_habbo_header_name(&self) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.