pub struct SseSubscription { /* private fields */ }Expand description
Active subscriber handle returned by SseHub::subscribe.
Implementations§
Source§impl SseSubscription
Inherent implementation of SseSubscription.
impl SseSubscription
Inherent implementation of SseSubscription.
Trait Implementations§
Source§impl Drop for SseSubscription
Implements Drop for SseSubscription.
impl Drop for SseSubscription
Implements Drop for SseSubscription.
Auto Trait Implementations§
impl Forget for SseSubscription
impl Freeze for SseSubscriptionwhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<TopicState> is !null: Freeze,
PhantomData<ArcInner<TopicState>>: Freeze,
*const ArcInner<SseHubInner> is !null: Freeze,
PhantomData<ArcInner<SseHubInner>>: Freeze,
*const SseReplayBatch is !null: Freeze,
PhantomData<SseReplayBatch>: Freeze,
impl Move for SseSubscription
impl RefUnwindSafe for SseSubscriptionwhere
Atomic<usize>: RefUnwindSafe,
Notify: RefUnwindSafe,
Mutex<SseTopicRing>: RefUnwindSafe,
Mutex<VecDeque<(u64, Arc<SharedSseEvent>)>>: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
RwLock<HashMap<Arc<str>, Arc<TopicState>, BuildHasherDefault<FxHasher>>>: RefUnwindSafe,
Mutex<HashMap<(Id, u64), Arc<SseHeartbeatWheel>>>: RefUnwindSafe,
OnceLock<Box<[u8]>>: RefUnwindSafe,
impl Send for SseSubscription
impl Sync for SseSubscription
impl Unpin for SseSubscription
impl UnsafeUnpin for SseSubscriptionwhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<TopicState> is !null: UnsafeUnpin,
PhantomData<ArcInner<TopicState>>: UnsafeUnpin,
*const ArcInner<SseHubInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<SseHubInner>>: UnsafeUnpin,
*const SseReplayBatch is !null: UnsafeUnpin,
PhantomData<SseReplayBatch>: UnsafeUnpin,
impl UnwindSafe for SseSubscriptionwhere
Arc<str>: UnwindSafe,
Arc<TopicState>: UnwindSafe,
Arc<SseHubInner>: UnwindSafe,
BoxRaw<SseReplayBatch>: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendSync for T
impl<T> AnySync for T
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