[][src]Struct gu_lan::actor::MdnsActor

pub struct MdnsActor<T: MdnsConnection> { /* fields omitted */ }

Actor resolving mDNS services names into list of IPs

Methods

impl<T: MdnsConnection> MdnsActor<T>
[src]

Trait Implementations

impl<T: Debug + MdnsConnection> Debug for MdnsActor<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Default + MdnsConnection> Default for MdnsActor<T>
[src]

Returns the "default value" for a type. Read more

impl<T: MdnsConnection> Actor for MdnsActor<T>
[src]

Actor execution context type

Creates stream handler for incoming mDNS packets

Method is called after an actor is in Actor::Stopping state. There could be several reasons for stopping. Context::stop get called by the actor itself. All addresses to current actor get dropped and no more evented objects left in the context. Read more

Method is called after an actor is stopped, it can be used to perform any needed cleanup work or spawning more actors. This is final state, after this call actor get dropped. Read more

Start new asynchronous actor, returns address of newly created actor. Read more

Start new asynchronous actor, returns address of newly created actor.

Use create method, if you need Context object during actor initialization. Read more

impl<T: MdnsConnection> Supervised for MdnsActor<T>
[src]

Method called when supervisor restarting failed actor

impl<T: MdnsConnection> SystemService for MdnsActor<T>
[src]

Construct and start system service

Method is called during service initialization.

Get actor's address from system registry

impl Handler<SubscribeInstance> for MdnsActor<Continuous>
[src]

The type of value that this handle will return

Method is called for every message received by this Actor

Auto Trait Implementations

impl<T> Send for MdnsActor<T> where
    T: Send

impl<T> Sync for MdnsActor<T> where
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Erased for T