pub struct Config {
pub forward_listen: Vec<SocketAddr>,
pub enable_forward: bool,
pub bootstrap_nodes: Vec<SocketAddr>,
}Fields§
§forward_listen: Vec<SocketAddr>§enable_forward: bool§bootstrap_nodes: Vec<SocketAddr>Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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