usecrate::frame::components::MacAddress;usecrate::frame::*;useenum_dispatch::enum_dispatch;/// Helper trait to easily access source, destination and bssid on frames.
#[enum_dispatch]pubtraitAddresses{/// Returns the sender of the Frame.
/// This isn't always send in every frame (e.g. CTS).
fnsrc(&self)->Option<&MacAddress>;/// Returns the destination of the Frame.
/// This should always be present.
fndest(&self)->&MacAddress;/// This isn't always send in every frame (e.g. RTS).
fnbssid(&self)->Option<&MacAddress>;}