pub enum ConnectionAddress {
Tcp(TcpConnectable),
Udp(UdpConnectable),
Serial(SerialConnectable),
File(FileConnectable),
}
Available on crate features
std
or tokio-1
only.Variants§
Tcp(TcpConnectable)
Available on crate feature
tcp
only.Udp(UdpConnectable)
Available on crate feature
udp
only.Serial(SerialConnectable)
Available on crate feature
direct-serial
only.File(FileConnectable)
Implementations§
Source§impl ConnectionAddress
impl ConnectionAddress
pub fn parse_address(address: &str) -> Result<Self, Error>
Trait Implementations§
Source§impl Connectable for ConnectionAddress
Available on crate feature std
only.
impl Connectable for ConnectionAddress
Available on crate feature
std
only.Auto Trait Implementations§
impl Freeze for ConnectionAddress
impl RefUnwindSafe for ConnectionAddress
impl Send for ConnectionAddress
impl Sync for ConnectionAddress
impl Unpin for ConnectionAddress
impl UnwindSafe for ConnectionAddress
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