pub enum ConnectionAddress {
Tcp(TcpConnectable),
Udp(UdpConnectable),
Serial(SerialConnectable),
File(FileConnectable),
}
Variants§
Implementations§
Source§impl ConnectionAddress
impl ConnectionAddress
pub fn parse_address(address: &str) -> Result<ConnectionAddress, Error>
Trait Implementations§
Source§impl AsyncConnectable for ConnectionAddress
impl AsyncConnectable for ConnectionAddress
Source§impl Connectable for ConnectionAddress
impl Connectable for ConnectionAddress
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