pub enum TestNotification {
BlockAdded(BlockAddedNotification),
VirtualChainChanged(VirtualChainChangedNotification),
UtxosChanged(UtxosChangedNotification),
}Variants§
BlockAdded(BlockAddedNotification)
VirtualChainChanged(VirtualChainChangedNotification)
UtxosChanged(UtxosChangedNotification)
Trait Implementations§
Source§impl AsRef<TestNotification> for TestNotification
impl AsRef<TestNotification> for TestNotification
Source§impl Clone for TestNotification
impl Clone for TestNotification
Source§fn clone(&self) -> TestNotification
fn clone(&self) -> TestNotification
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Data for TestNotification
impl Data for TestNotification
Source§impl Debug for TestNotification
impl Debug for TestNotification
Source§impl Display for TestNotification
impl Display for TestNotification
Source§impl From<&TestNotification> for EventType
impl From<&TestNotification> for EventType
Source§fn from(value: &TestNotification) -> Self
fn from(value: &TestNotification) -> Self
Converts to this type from the input type.
Source§impl From<&TestNotification> for Scope
impl From<&TestNotification> for Scope
Source§fn from(value: &TestNotification) -> Self
fn from(value: &TestNotification) -> Self
Converts to this type from the input type.
Source§impl Notification for TestNotification
impl Notification for TestNotification
fn apply_overall_subscription( &self, subscription: &OverallSubscription, _: &SubscriptionContext, ) -> Option<Self>
fn apply_virtual_chain_changed_subscription( &self, subscription: &VirtualChainChangedSubscription, _: &SubscriptionContext, ) -> Option<Self>
fn apply_utxos_changed_subscription( &self, subscription: &UtxosChangedSubscription, context: &SubscriptionContext, ) -> Option<Self>
fn event_type(&self) -> EventType
fn apply_subscription( &self, subscription: &dyn Single, context: &SubscriptionContext, ) -> Option<Self>
Source§impl PartialEq for TestNotification
impl PartialEq for TestNotification
impl Eq for TestNotification
impl StructuralPartialEq for TestNotification
Auto Trait Implementations§
impl Freeze for TestNotification
impl RefUnwindSafe for TestNotification
impl Send for TestNotification
impl Sync for TestNotification
impl Unpin for TestNotification
impl UnwindSafe for TestNotification
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