struct ClientInner {
config: ClientConfig,
state: ClientState,
subscriptions: FastMap<String, SubscriptionInner>,
pending: FastMap<u32, Sender<Result<Reply, Error>>>,
next_id: AtomicU32,
event_tx: Sender<ClientEvent>,
cmd_tx: Option<Sender<CommandRequest>>,
server_ping: Option<Duration>,
send_pong: bool,
refresh_required: bool,
}Fields§
§config: ClientConfig§state: ClientState§subscriptions: FastMap<String, SubscriptionInner>§pending: FastMap<u32, Sender<Result<Reply, Error>>>§next_id: AtomicU32§event_tx: Sender<ClientEvent>§cmd_tx: Option<Sender<CommandRequest>>§server_ping: Option<Duration>§send_pong: bool§refresh_required: boolAuto Trait Implementations§
impl !Freeze for ClientInner
impl !RefUnwindSafe for ClientInner
impl Send for ClientInner
impl Sync for ClientInner
impl Unpin for ClientInner
impl UnsafeUnpin for ClientInner
impl !UnwindSafe for ClientInner
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more