Struct yew_event_source::EventSourceTask[][src]

pub struct EventSourceTask { /* fields omitted */ }
Expand description

A handle to control current event source connection. Implements Task and could be canceled.

Implementations

Register a callback for events of a given type

This registers an event listener, which will fire callback when an event of event_type occurs.

Query the ready state of the event source.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Returns true if task is active.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert self to an optional value of a Properties struct.

Convert self to a value of a Properties struct.

Convert self to a value of a Properties struct.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.