pub struct PubSubHandle { /* private fields */ }Expand description
Handle for updating Pub/Sub subscription count.
Implementations§
Trait Implementations§
Source§impl Clone for PubSubHandle
impl Clone for PubSubHandle
Source§fn clone(&self) -> PubSubHandle
fn clone(&self) -> PubSubHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PubSubHandle
impl Debug for PubSubHandle
Source§impl<State> FromRequest<State> for PubSubHandle
impl<State> FromRequest<State> for PubSubHandle
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<State>, ) -> Result<Self, Self::Rejection>
Auto Trait Implementations§
impl Freeze for PubSubHandle
impl RefUnwindSafe for PubSubHandle
impl Send for PubSubHandle
impl Sync for PubSubHandle
impl Unpin for PubSubHandle
impl UnsafeUnpin for PubSubHandle
impl UnwindSafe for PubSubHandle
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