pub trait AsConcrete<T> {
// Required method
fn as_concrete(&self) -> Option<&T>;
}
Expand description
Trait to extract a reference to a concrete type from an enum Packet, if applicable.
pub trait AsConcrete<T> {
// Required method
fn as_concrete(&self) -> Option<&T>;
}
Trait to extract a reference to a concrete type from an enum Packet, if applicable.