Trait zeromq::TryIntoEndpoint[][src]

pub trait TryIntoEndpoint: Send + Sealed {
    fn try_into(self) -> Result<Endpoint, EndpointError>;
}
Expand description

Represents a type that can be converted into an Endpoint.

This trait is intentionally sealed to prevent implementation on third-party types.

Required methods

Convert into an Endpoint via an owned Self.

Enables efficient Endpoint -> Endpoint conversion, while permitting the creation of a new Endpoint when given types like &str.

Implementations on Foreign Types

Implementors