pub enum Address {
Tcp(SocketAddr),
Uds(PathBuf),
}
Expand description
Address of ABCI Server
Variants
Tcp(SocketAddr)
TCP Address
Uds(PathBuf)
Available on Unix only.
UDS Address
Trait Implementations
sourceimpl From<SocketAddr> for Address
impl From<SocketAddr> for Address
sourcefn from(addr: SocketAddr) -> Self
fn from(addr: SocketAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more