pub struct PushRuntime { /* private fields */ }Implementations§
Source§impl PushRuntime
impl PushRuntime
pub fn new_default() -> Self
pub fn new( metrics: Arc<GatewayMetrics>, push_health: SharedPushHealth, qot_login_health: SharedQotLoginHealth, ) -> Self
pub fn set_push_tx(&self, push_tx: Option<Sender<PushEvent>>)
pub fn metrics(&self) -> &Arc<GatewayMetrics>
pub fn push_health(&self) -> &SharedPushHealth
pub fn qot_login_health(&self) -> &SharedQotLoginHealth
pub fn push_tx(&self) -> Option<Sender<PushEvent>>
pub fn enable_price_reminder_push(&self) -> Arc<AtomicBool> ⓘ
Trait Implementations§
Source§impl Clone for PushRuntime
impl Clone for PushRuntime
Source§fn clone(&self) -> PushRuntime
fn clone(&self) -> PushRuntime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PushRuntime
impl !RefUnwindSafe for PushRuntime
impl Send for PushRuntime
impl Sync for PushRuntime
impl Unpin for PushRuntime
impl UnsafeUnpin for PushRuntime
impl !UnwindSafe for PushRuntime
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