[−][src]Struct actix_web::actix::resolver::Resolve
Fields
name: String
port: Option<u16>
Methods
impl Resolve
[src]
pub fn host<T>(host: T) -> Resolve where
T: AsRef<str>,
[src]
T: AsRef<str>,
pub fn host_and_port<T>(host: T, port: u16) -> Resolve where
T: AsRef<str>,
[src]
T: AsRef<str>,
Trait Implementations
impl Message for Resolve
[src]
type Result = Result<VecDeque<SocketAddr>, ResolverError>
The type of value that this message will resolved with if it is successful. Read more
impl Handler<Resolve> for Resolver
[src]
type Result = Box<dyn ActorFuture<Error = ResolverError, Item = VecDeque<SocketAddr>, Actor = Resolver> + 'static>
The type of value that this handle will return
fn handle(
&mut self,
msg: Resolve,
&mut <Resolver as Actor>::Context
) -> <Resolver as Handler<Resolve>>::Result
[src]
&mut self,
msg: Resolve,
&mut <Resolver as Actor>::Context
) -> <Resolver as Handler<Resolve>>::Result
impl Debug for Resolve
[src]
impl Eq for Resolve
[src]
impl PartialEq<Resolve> for Resolve
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,