pub struct NodeConfig {
pub id: NodeId,
pub addr: SocketAddr,
pub raft: Config,
pub durable: Option<DurableService>,
pub edge_auth: Option<EdgeAuthService>,
}Fields§
§id: NodeId§addr: SocketAddr§raft: Config§durable: Option<DurableService>§edge_auth: Option<EdgeAuthService>Trait Implementations§
Source§impl Clone for NodeConfig
impl Clone for NodeConfig
Source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeConfig
impl Debug for NodeConfig
Auto Trait Implementations§
impl !RefUnwindSafe for NodeConfig
impl !UnwindSafe for NodeConfig
impl Freeze for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl UnsafeUnpin for NodeConfig
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