pub struct UtxosChangedSubscription { /* private fields */ }Implementations§
Source§impl UtxosChangedSubscription
impl UtxosChangedSubscription
pub fn new(state: UtxosChangedState, listener_id: ListenerId) -> Self
pub fn with_capacity( state: UtxosChangedState, listener_id: ListenerId, capacity: usize, ) -> Self
pub fn data(&self) -> RwLockReadGuard<'_, UtxosChangedSubscriptionData>
pub fn data_mut(&self) -> RwLockWriteGuard<'_, UtxosChangedSubscriptionData>
pub fn state(&self) -> UtxosChangedState
pub fn to_all(&self) -> bool
Trait Implementations§
Source§impl Clone for UtxosChangedSubscription
impl Clone for UtxosChangedSubscription
Source§impl Debug for UtxosChangedSubscription
impl Debug for UtxosChangedSubscription
Source§impl Display for UtxosChangedSubscription
impl Display for UtxosChangedSubscription
Source§impl Drop for UtxosChangedSubscription
impl Drop for UtxosChangedSubscription
Source§impl Hash for UtxosChangedSubscription
impl Hash for UtxosChangedSubscription
Source§impl PartialEq for UtxosChangedSubscription
impl PartialEq for UtxosChangedSubscription
Source§impl Single for UtxosChangedSubscription
impl Single for UtxosChangedSubscription
Source§fn apply_mutation(
&self,
current: &Arc<dyn Single>,
mutation: Mutation,
policies: MutationPolicies,
context: &SubscriptionContext,
) -> Result<MutationOutcome>
fn apply_mutation( &self, current: &Arc<dyn Single>, mutation: Mutation, policies: MutationPolicies, context: &SubscriptionContext, ) -> Result<MutationOutcome>
impl Eq for UtxosChangedSubscription
Auto Trait Implementations§
impl !Freeze for UtxosChangedSubscription
impl !RefUnwindSafe for UtxosChangedSubscription
impl Send for UtxosChangedSubscription
impl Sync for UtxosChangedSubscription
impl Unpin for UtxosChangedSubscription
impl UnwindSafe for UtxosChangedSubscription
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<S> CastArc for Swhere
S: CastFromSync + ?Sized,
impl<S> CastArc for Swhere
S: CastFromSync + ?Sized,
Source§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere
T: Any + 'static,
Source§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any, which is backed by the type implementing this trait.Source§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any, which is backed by the type implementing this trait.Source§impl<T> CastFromSync for T
impl<T> CastFromSync for T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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