pub struct LegacyNodeConfigManager {
pub node_config: LegacyNodeConfig,
pub file: Option<PathBuf>,
}
Fields§
§node_config: LegacyNodeConfig
§file: Option<PathBuf>
Trait Implementations§
source§impl Clone for LegacyNodeConfigManager
impl Clone for LegacyNodeConfigManager
source§fn clone(&self) -> LegacyNodeConfigManager
fn clone(&self) -> LegacyNodeConfigManager
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 ConfigurableNodeConfig for LegacyNodeConfigManager
impl ConfigurableNodeConfig for LegacyNodeConfigManager
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
source§impl Debug for LegacyNodeConfigManager
impl Debug for LegacyNodeConfigManager
Auto Trait Implementations§
impl RefUnwindSafe for LegacyNodeConfigManager
impl Send for LegacyNodeConfigManager
impl Sync for LegacyNodeConfigManager
impl Unpin for LegacyNodeConfigManager
impl UnwindSafe for LegacyNodeConfigManager
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