pub struct NodeConfigurations { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Configuration for NodeConfigurations
impl Configuration for NodeConfigurations
fn get_server_configs(&self) -> Option<&Server>
fn get_peer_configs(&self) -> &Vec<PeerConfig>
fn get_blockchain_configs(&self) -> &BlockchainConfig
fn get_block_fetch_url(&self) -> String
fn is_spv_mode(&self) -> bool
fn is_browser(&self) -> bool
fn replace(&mut self, config: &dyn Configuration)
fn get_consensus_config(&self) -> Option<&ConsensusConfig>
Source§impl Debug for NodeConfigurations
impl Debug for NodeConfigurations
Source§impl Default for NodeConfigurations
impl Default for NodeConfigurations
Source§impl<'de> Deserialize<'de> for NodeConfigurations
impl<'de> Deserialize<'de> for NodeConfigurations
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 Freeze for NodeConfigurations
impl RefUnwindSafe for NodeConfigurations
impl Send for NodeConfigurations
impl Sync for NodeConfigurations
impl Unpin for NodeConfigurations
impl UnwindSafe for NodeConfigurations
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