[][src]Enum kayrx_ui::fabric::agent::AgentLifecycleEvent

pub enum AgentLifecycleEvent<AGN> where
    AGN: Agent
{ Create(AgentLink<AGN>), Message(<AGN as Agent>::Message), Connected(HandlerId), Input(<AGN as Agent>::InputHandlerId), Disconnected(HandlerId), Destroy, }

Local Agent messages

Variants

Create(AgentLink<AGN>)

Request to create link

Message(<AGN as Agent>::Message)

Internal Agent message

Connected(HandlerId)

Client connected

Input(<AGN as Agent>::InputHandlerId)

Received mesasge from Client

Disconnected(HandlerId)

Client disconnected

Destroy

Request to destroy agent

Trait Implementations

impl<AGN> Debug for AgentLifecycleEvent<AGN> where
    AGN: Agent + Debug,
    <AGN as Agent>::Message: Debug,
    <AGN as Agent>::Input: Debug
[src]

Auto Trait Implementations

impl<AGN> !RefUnwindSafe for AgentLifecycleEvent<AGN>

impl<AGN> !Send for AgentLifecycleEvent<AGN>

impl<AGN> !Sync for AgentLifecycleEvent<AGN>

impl<AGN> Unpin for AgentLifecycleEvent<AGN> where
    <AGN as Agent>::Input: Unpin,
    <AGN as Agent>::Message: Unpin

impl<AGN> !UnwindSafe for AgentLifecycleEvent<AGN>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.