pub struct SetnetworkactiveParams {
pub state: bool,
}Expand description
Disable/enable all p2p network activity.
Fields§
§state: booltrue to enable networking, false to disable
Trait Implementations§
Source§impl Debug for SetnetworkactiveParams
impl Debug for SetnetworkactiveParams
Auto Trait Implementations§
impl Freeze for SetnetworkactiveParams
impl RefUnwindSafe for SetnetworkactiveParams
impl Send for SetnetworkactiveParams
impl Sync for SetnetworkactiveParams
impl Unpin for SetnetworkactiveParams
impl UnwindSafe for SetnetworkactiveParams
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