Enum dvm_net::endpoint::Endpoint [−][src]
Variants
Http(Http)
Ipc(Ipc)
Implementations
impl Endpoint
[src]
impl Endpoint
[src]Trait Implementations
impl FromStr for Endpoint
[src]
impl FromStr for Endpoint
[src]type Err = StdError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Create Endpoint from URI. Supports http and ipc schemes.
e.g.:
ipc://tmp/dir/file
(absolute path)ipc://./dir/file
(relative path with.
and..
)ipc://~/dir/file
(relative to $HOME)http://[::1]:50042
http://127.0.0.1:50042
http://example.com:50042
impl TryInto<SocketAddr> for Endpoint
[src]
impl TryInto<SocketAddr> for Endpoint
[src]Auto Trait Implementations
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,