pub enum CovRecipient {
Direct(MacAddr),
Routed(NpduAddress),
}Expand description
Original BACnet client address for COV identity, quota and notification accounting. A routed address is independent of the immediate router; it is a claimed protocol address, not an authentication credential.
Variants§
Direct(MacAddr)
A local-network client, identified by its source MAC.
Routed(NpduAddress)
The original SNET/SADR of a client behind a router.
Implementations§
Source§impl CovRecipient
impl CovRecipient
Sourcepub fn from_endpoint(mac: &[u8], network: Option<&NpduAddress>) -> Self
pub fn from_endpoint(mac: &[u8], network: Option<&NpduAddress>) -> Self
Derive client identity separately from the current delivery route.
Trait Implementations§
Source§impl Clone for CovRecipient
impl Clone for CovRecipient
Source§impl Debug for CovRecipient
impl Debug for CovRecipient
impl Eq for CovRecipient
Source§impl Hash for CovRecipient
impl Hash for CovRecipient
Source§impl PartialEq for CovRecipient
impl PartialEq for CovRecipient
impl StructuralPartialEq for CovRecipient
Auto Trait Implementations§
impl Freeze for CovRecipient
impl RefUnwindSafe for CovRecipient
impl Send for CovRecipient
impl Sync for CovRecipient
impl Unpin for CovRecipient
impl UnsafeUnpin for CovRecipient
impl UnwindSafe for CovRecipient
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