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)IP address with implicit default port (8448)
Tuple Fields of Ip
0: IpAddrSocket(SocketAddr)IP address and explicit port
Tuple Fields of Socket
0: SocketAddrHost(String)Host string with implicit default port (8448)
Tuple Fields of Host
0: StringHostPort(String)Host string with explicit port.
Tuple Fields of HostPort
0: StringAddress 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