pub struct ChainStatus {
pub id: ChainId,
pub name: &'static str,
pub state: ChainState,
pub extra: ChainExtra,
}Expand description
Full status snapshot for a chain.
Fields§
§id: ChainId§name: &'static str§state: ChainState§extra: ChainExtraImplementations§
Source§impl ChainStatus
impl ChainStatus
pub fn disconnected(id: ChainId) -> Self
Trait Implementations§
Source§impl Clone for ChainStatus
impl Clone for ChainStatus
Source§fn clone(&self) -> ChainStatus
fn clone(&self) -> ChainStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChainStatus
impl RefUnwindSafe for ChainStatus
impl Send for ChainStatus
impl Sync for ChainStatus
impl Unpin for ChainStatus
impl UnsafeUnpin for ChainStatus
impl UnwindSafe for ChainStatus
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