Struct nakamoto_node::Config
source · [−]pub struct Config {
pub protocol: Config,
pub listen: Vec<SocketAddr, Global>,
pub root: PathBuf,
pub name: &'static str,
}Expand description
Client configuration.
Fields
protocol: ConfigClient protocol configuration.
listen: Vec<SocketAddr, Global>Client listen addresses.
root: PathBufClient home path, where runtime data is stored, eg. block headers and filters.
name: &'static strClient name. Used for logging only.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more