Struct ibc_relayer::supervisor::dump_state::WorkerDesc
source · pub struct WorkerDesc {
pub id: WorkerId,
pub object: Object,
pub data: Option<WorkerData>,
}Fields§
§id: WorkerId§object: Object§data: Option<WorkerData>Implementations§
source§impl WorkerDesc
impl WorkerDesc
Trait Implementations§
source§impl Clone for WorkerDesc
impl Clone for WorkerDesc
source§fn clone(&self) -> WorkerDesc
fn clone(&self) -> WorkerDesc
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 WorkerDesc
impl Debug for WorkerDesc
source§impl<'de> Deserialize<'de> for WorkerDesc
impl<'de> Deserialize<'de> for WorkerDesc
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 PartialEq for WorkerDesc
impl PartialEq for WorkerDesc
source§fn eq(&self, other: &WorkerDesc) -> bool
fn eq(&self, other: &WorkerDesc) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WorkerDesc
impl Serialize for WorkerDesc
impl Eq for WorkerDesc
impl StructuralEq for WorkerDesc
impl StructuralPartialEq for WorkerDesc
Auto Trait Implementations§
impl RefUnwindSafe for WorkerDesc
impl Send for WorkerDesc
impl Sync for WorkerDesc
impl Unpin for WorkerDesc
impl UnwindSafe for WorkerDesc
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