[][src]Enum kayrx::jrpc::raw::RawServerEvent

pub enum RawServerEvent<'a, R, I> {
    Notification(Notification),
    Request(RawServerRequest<'a, R, I>),
    SubscriptionsReady(SubscriptionsReadyIter),
    SubscriptionsClosed(SubscriptionsClosedIter),
}

Event generated by a RawServer.

Note: Holds a borrow of the RawServer. Therefore, must be dropped before the RawServer can be dropped.

Variants

Notification(Notification)

Request is a notification.

Request(RawServerRequest<'a, R, I>)

Request is a method call.

SubscriptionsReady(SubscriptionsReadyIter)

Subscriptions are now ready.

SubscriptionsClosed(SubscriptionsClosedIter)

Subscriptions have been closed because the client closed the connection.

Trait Implementations

impl<'a, R: Debug, I: Debug> Debug for RawServerEvent<'a, R, I>[src]

Auto Trait Implementations

impl<'a, R, I> RefUnwindSafe for RawServerEvent<'a, R, I> where
    I: RefUnwindSafe,
    R: RefUnwindSafe

impl<'a, R, I> Send for RawServerEvent<'a, R, I> where
    I: Send,
    R: Send

impl<'a, R, I> Sync for RawServerEvent<'a, R, I> where
    I: Sync,
    R: Sync

impl<'a, R, I> Unpin for RawServerEvent<'a, R, I>

impl<'a, R, I> !UnwindSafe for RawServerEvent<'a, R, I>

Blanket Implementations

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,