pub struct ChainParams { /* private fields */ }Expand description
The chain parameters with which to configure a Context.
Implementations§
Source§impl ChainParams
impl ChainParams
pub fn new(chain_type: ChainType) -> ChainParams
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainParams
impl RefUnwindSafe for ChainParams
impl Unpin for ChainParams
impl UnwindSafe for ChainParams
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