pub enum NetworkType {
PublicNetwork,
TestNetwork,
}
Variants§
Implementations§
Source§impl NetworkType
impl NetworkType
pub fn get_network_id(&self) -> [u8; 32]
Trait Implementations§
Source§impl Debug for NetworkType
impl Debug for NetworkType
Source§impl PartialEq for NetworkType
impl PartialEq for NetworkType
impl StructuralPartialEq for NetworkType
Auto Trait Implementations§
impl Freeze for NetworkType
impl RefUnwindSafe for NetworkType
impl Send for NetworkType
impl Sync for NetworkType
impl Unpin for NetworkType
impl UnwindSafe for NetworkType
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