pub struct AppConfig { /* private fields */ }Implementations§
Source§impl AppConfig
impl AppConfig
pub fn new(config_file: ConfigFile) -> Self
pub fn get_ckb_config(&self) -> CkbConfig
pub fn get_network_config(&self) -> NetworkConfig
pub fn get_script_config(&self) -> ScriptConfig
pub fn get_dust_collector_config(&self) -> DustCollectorConfig
pub fn get_atomic_swap_config(&self) -> AtomicSwapConfig
pub fn get_signer_config(&self) -> SignerConfig
Trait Implementations§
Source§impl From<ConfigFile> for AppConfig
impl From<ConfigFile> for AppConfig
Source§fn from(config_file: ConfigFile) -> Self
fn from(config_file: ConfigFile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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