pub enum ChainType {
MAINNET,
TESTNET,
SIGNET,
REGTEST,
}Expand description
The ChainType used to configure the kernel Context.
Variants§
Trait Implementations§
Source§impl From<ChainType> for kernel_ChainType
impl From<ChainType> for kernel_ChainType
Source§fn from(chain: ChainType) -> kernel_ChainType
fn from(chain: ChainType) -> kernel_ChainType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChainType
impl RefUnwindSafe for ChainType
impl Send for ChainType
impl Sync for ChainType
impl Unpin for ChainType
impl UnwindSafe for ChainType
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