pub enum ConnectionAddress {
Tcp(TcpConnectable),
Udp(UdpConnectable),
Serial(SerialConnectable),
File(FileConnectable),
}Available on crate features
std or tokio-1 only.Variants§
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