Struct ntex::connect::Connect [−][src]
pub struct Connect<T> { /* fields omitted */ }
Expand description
Connect request
Implementations
Create Connect
instance by spliting the string by ‘:’ and convert the second part to u16
Create new Connect
instance from host and address. Connector skips name resolution stage for such connect messages.
Use port if address does not provide one.
By default it set to 0
Use address.
Use addresses.
Takes preresolved addresses of the request.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Connect<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Connect<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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