Enum matrix_oracle::server::Server [−][src]
pub enum Server {
Ip(IpAddr),
Socket(SocketAddr),
Host(String),
HostPort(String),
Srv(String, String),
}
Expand description
Resolved server name
Variants
Ip(IpAddr)
Tuple Fields
0: IpAddr
IP address with implicit default port (8448)
Socket(SocketAddr)
Tuple Fields
0: SocketAddr
IP address and explicit port
Host(String)
Tuple Fields
0: String
Host string with implicit default port (8448)
HostPort(String)
Tuple Fields
0: String
Host string with explicit port.
Srv(String, String)
Address from srv record, hostname from server name.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Server
impl UnwindSafe for Server
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more