Struct ibc_relayer::supervisor::dump_state::SupervisorState
source · pub struct SupervisorState {
pub chains: Vec<ChainId>,
pub workers: BTreeMap<ObjectType, Vec<WorkerDesc>>,
}Fields§
§chains: Vec<ChainId>§workers: BTreeMap<ObjectType, Vec<WorkerDesc>>Implementations§
source§impl SupervisorState
impl SupervisorState
pub fn new<'a>( chains: Vec<ChainId>, workers: impl Iterator<Item = &'a WorkerHandle> ) -> Self
pub fn print_info(&self)
Trait Implementations§
source§impl Clone for SupervisorState
impl Clone for SupervisorState
source§fn clone(&self) -> SupervisorState
fn clone(&self) -> SupervisorState
Returns a copy 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 moresource§impl Debug for SupervisorState
impl Debug for SupervisorState
source§impl Default for SupervisorState
impl Default for SupervisorState
source§fn default() -> SupervisorState
fn default() -> SupervisorState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SupervisorState
impl<'de> Deserialize<'de> for SupervisorState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SupervisorState
impl Display for SupervisorState
source§impl PartialEq for SupervisorState
impl PartialEq for SupervisorState
source§fn eq(&self, other: &SupervisorState) -> bool
fn eq(&self, other: &SupervisorState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SupervisorState
impl Serialize for SupervisorState
impl Eq for SupervisorState
impl StructuralEq for SupervisorState
impl StructuralPartialEq for SupervisorState
Auto Trait Implementations§
impl RefUnwindSafe for SupervisorState
impl Send for SupervisorState
impl Sync for SupervisorState
impl Unpin for SupervisorState
impl UnwindSafe for SupervisorState
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request