pub struct OkxWsStreamResponse {
pub id: String,
pub arg: Value,
}Fields§
§id: String§arg: ValueTrait Implementations§
Source§impl Debug for OkxWsStreamResponse
impl Debug for OkxWsStreamResponse
fn get_client(&self) -> &Client<Self>
fn get_oneshot_tx_map( &mut self, ) -> &mut HashMap<String, Sender<Result<OkxWsStreamResponse, SharedWsError>>>
fn send_oneshot( &mut self, payload: Payload, tx: Sender<Result<Response, SharedWsError>>, ) -> Result<(), SharedWsError>
fn recv_oneshot_resp(&mut self, text: &str) -> Option<Result<(), SharedWsError>>
Auto Trait Implementations§
impl Freeze for OkxWsStreamResponse
impl RefUnwindSafe for OkxWsStreamResponse
impl Send for OkxWsStreamResponse
impl Sync for OkxWsStreamResponse
impl Unpin for OkxWsStreamResponse
impl UnsafeUnpin for OkxWsStreamResponse
impl UnwindSafe for OkxWsStreamResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more