pub enum BACnetHostAddress {
None,
Ip(IpAddr),
Name(String),
}Expand description
BACnetHostAddress (Clause 21): a host given by IP address or by name,
or no host at all.
Variants§
None
Context tag 0: no host. Clause 12.56.33 uses it, with port 0, for a global address that is unknown or not yet configured.
Ip(IpAddr)
Context tag 1: an IP address, four octets for B/IP and sixteen for B/IPv6 on the wire.
Name(String)
Context tag 2: an Internet host name (RFC 1123).
Trait Implementations§
Source§impl Clone for BACnetHostAddress
impl Clone for BACnetHostAddress
Source§impl Debug for BACnetHostAddress
impl Debug for BACnetHostAddress
impl Eq for BACnetHostAddress
Source§impl Hash for BACnetHostAddress
impl Hash for BACnetHostAddress
Source§impl PartialEq for BACnetHostAddress
impl PartialEq for BACnetHostAddress
impl StructuralPartialEq for BACnetHostAddress
Auto Trait Implementations§
impl Freeze for BACnetHostAddress
impl RefUnwindSafe for BACnetHostAddress
impl Send for BACnetHostAddress
impl Sync for BACnetHostAddress
impl Unpin for BACnetHostAddress
impl UnsafeUnpin for BACnetHostAddress
impl UnwindSafe for BACnetHostAddress
Blanket Implementations§
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