[−][src]Enum kayrx::jrpc::raw::RawClientEvent
Event returned by RawClient::next_event
.
Variants
A request has received a response.
Fields of Response
request_id: RawClientRequestId
Identifier of the request. Can be matched with the value that RawClient::start_request
has returned.
result: Result<JsonValue, Error>
The response itself.
A subscription request has received a response.
Fields of SubscriptionResponse
request_id: RawClientRequestId
Identifier of the request. Can be matched with the value that
RawClient::start_subscription
has returned.
result: Result<(), Error>
On success, we are now actively subscribed.
SubscriptionNotif
events will now be generated.
Notification about something we are subscribed to.
Fields of SubscriptionNotif
request_id: RawClientRequestId
Identifier of the request. Can be matched with the value that
RawClient::start_subscription
has returned.
result: JsonValue
Opaque data that the server wants to communicate to us.
Finished closing a subscription.
Fields of Unsubscribed
request_id: RawClientRequestId
Subscription that has been closed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RawClientEvent
impl Send for RawClientEvent
impl Sync for RawClientEvent
impl Unpin for RawClientEvent
impl UnwindSafe for RawClientEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,