pub struct BnWsStreamResponse {
pub id: String,
pub result: Value,
}Fields§
§id: String§result: ValueTrait Implementations§
Source§impl Debug for BnWsStreamResponse
impl Debug for BnWsStreamResponse
fn get_client(&self) -> &Client<Self>
fn get_oneshot_tx_map( &mut self, ) -> &mut HashMap<String, Sender<Result<BnWsStreamResponse, 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 BnWsStreamResponse
impl RefUnwindSafe for BnWsStreamResponse
impl Send for BnWsStreamResponse
impl Sync for BnWsStreamResponse
impl Unpin for BnWsStreamResponse
impl UnwindSafe for BnWsStreamResponse
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