pub struct SubscriberEndpoint {
pub mac: MacAddr,
pub network: Option<NpduAddress>,
}Expand description
Delivery endpoint, including the immediate router for routed traffic.
All COV family keys use the original client recipient as identity.
Quota and notification accounting use that same CovRecipient.
Fields§
§mac: MacAddrImmediate transport destination (the router when routed).
network: Option<NpduAddress>Original routed NPDU source, if any.
Implementations§
Source§impl SubscriberEndpoint
impl SubscriberEndpoint
Sourcepub fn new(mac: &[u8], network: Option<&NpduAddress>) -> Self
pub fn new(mac: &[u8], network: Option<&NpduAddress>) -> Self
Capture both parts of the admitted transport endpoint.
Trait Implementations§
Source§impl Clone for SubscriberEndpoint
impl Clone for SubscriberEndpoint
Source§impl Debug for SubscriberEndpoint
impl Debug for SubscriberEndpoint
impl Eq for SubscriberEndpoint
Source§impl Hash for SubscriberEndpoint
impl Hash for SubscriberEndpoint
Source§impl PartialEq for SubscriberEndpoint
impl PartialEq for SubscriberEndpoint
impl StructuralPartialEq for SubscriberEndpoint
Auto Trait Implementations§
impl Freeze for SubscriberEndpoint
impl RefUnwindSafe for SubscriberEndpoint
impl Send for SubscriberEndpoint
impl Sync for SubscriberEndpoint
impl Unpin for SubscriberEndpoint
impl UnsafeUnpin for SubscriberEndpoint
impl UnwindSafe for SubscriberEndpoint
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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