Struct jsonrpsee_core::server::helpers::SubscriptionPermit
source · pub struct SubscriptionPermit { /* private fields */ }
Available on crate feature
server
only.Expand description
A permitted subscription.
Implementations§
source§impl SubscriptionPermit
impl SubscriptionPermit
sourcepub fn handle(&self) -> Arc<Notify>
pub fn handle(&self) -> Arc<Notify>
Get the handle to tokio::sync::Notify
.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SubscriptionPermit
impl Send for SubscriptionPermit
impl Sync for SubscriptionPermit
impl Unpin for SubscriptionPermit
impl !UnwindSafe for SubscriptionPermit
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