pub enum BitcoinBlockSignaling {
Stacks(StacksNodeConfig),
ZeroMQ(String),
}Variants§
Stacks(StacksNodeConfig)
ZeroMQ(String)
Implementations§
source§impl BitcoinBlockSignaling
impl BitcoinBlockSignaling
pub fn should_ignore_bitcoin_block_signaling_through_stacks(&self) -> bool
pub fn is_bitcoind_zmq_block_signaling_expected(&self) -> bool
Trait Implementations§
source§impl Clone for BitcoinBlockSignaling
impl Clone for BitcoinBlockSignaling
source§fn clone(&self) -> BitcoinBlockSignaling
fn clone(&self) -> BitcoinBlockSignaling
Returns a copy of the value. Read more
1.0.0 · 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 BitcoinBlockSignaling
impl Debug for BitcoinBlockSignaling
source§impl<'de> Deserialize<'de> for BitcoinBlockSignaling
impl<'de> Deserialize<'de> for BitcoinBlockSignaling
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BitcoinBlockSignaling
impl Send for BitcoinBlockSignaling
impl Sync for BitcoinBlockSignaling
impl Unpin for BitcoinBlockSignaling
impl UnwindSafe for BitcoinBlockSignaling
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