Struct RealtimeSession Copy item path Source pub struct RealtimeSession { }Expand description Real-time hubs, client, session, events, messages, and invocation decoding.
Real-time hubs, client, session, events, messages, and invocation decoding.
Real-time hubs, client, session, events, messages, and invocation decoding.
Subscription and invocation admission bound to one exact ready socket.
This handle cannot stop or reconnect the transport and does not keep its owner alive.
The socket to which every invocation through this handle is bound.
Invokes an arbitrary provider target and waits for its completion frame.
§ Errors
Returns an error when disconnected, a bounded capacity is exhausted,
the provider rejects the invocation, or completion times out. A timeout
or cancellation after queue admission has an unknown outcome and reclaims
only that invocation slot. It never closes the connection or retries the call.
Subscribes to market trades for a contract.
§ Errors
Returns a real-time invocation error.
Unsubscribes from market trades for a contract.
§ Errors
Returns a real-time invocation error.
Subscribes to market quotes for a contract.
§ Errors
Returns a real-time invocation error.
Unsubscribes from market quotes for a contract.
§ Errors
Returns a real-time invocation error.
Subscribes to market depth for a contract.
§ Errors
Returns a real-time invocation error.
Unsubscribes from market depth for a contract.
§ Errors
Returns a real-time invocation error.
Subscribes to account updates.
§ Errors
Returns a real-time invocation error.
Unsubscribes from account updates.
§ Errors
Returns a real-time invocation error.
Subscribes to order updates for an account.
§ Errors
Returns a real-time invocation error.
Unsubscribes from order updates for an account.
§ Errors
Returns a real-time invocation error.
Subscribes to position updates for an account.
§ Errors
Returns a real-time invocation error.
Unsubscribes from position updates for an account.
§ Errors
Returns a real-time invocation error.
Subscribes to trade updates for an account.
§ Errors
Returns a real-time invocation error.
Unsubscribes from trade updates for an account.
§ Errors
Returns a real-time invocation error.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more 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.