pub struct NodeConfigManager {
pub node_config: NodeConfig,
pub file: Option<PathBuf>,
}
Fields§
§node_config: NodeConfig
§file: Option<PathBuf>
Trait Implementations§
source§impl ConfigurableNodeConfig for NodeConfigManager
impl ConfigurableNodeConfig for NodeConfigManager
fn log_file_path(&self) -> Option<&Path>
fn write_node_config(&self)
fn node_config_path(&self) -> PathBuf
fn set_node_config_path(&mut self, path: PathBuf)
fn p2p_listen_address(&self) -> SocketAddr
fn p2p_public_address(&self) -> Multiaddr
fn set_p2p_public_address(&mut self, address: Multiaddr)
fn rest_socket_addr(&self) -> SocketAddr
fn set_rest_socket_addr(&mut self, addr: SocketAddr)
fn as_communication_params(&self) -> CommunicationParams
Auto Trait Implementations§
impl RefUnwindSafe for NodeConfigManager
impl Send for NodeConfigManager
impl Sync for NodeConfigManager
impl Unpin for NodeConfigManager
impl UnwindSafe for NodeConfigManager
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request