pub enum Target {
Mac(Vec<u8>),
Bip6(SocketAddrV6),
Instance(u32),
Routed {
dnet: u16,
instance: u32,
},
RoutedMac {
dnet: u16,
mac: Vec<u8>,
},
}Expand description
A parsed target for a BACnet command.
Variants§
Mac(Vec<u8>)
A MAC on this network, as written.
Bip6(SocketAddrV6)
A B/IPv6 address. The node there is addressed by its VMAC, which
bip6_vmac finds.
Instance(u32)
A device instance, looked up in the client’s discovery table.
Routed
A device behind a router: its network and device instance.
RoutedMac
A station behind a router: its network and its MAC there.
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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