pub struct IdentifiedAnyClientState {
pub client_id: ClientId,
pub client_state: AnyClientState,
}
Fields§
§client_id: ClientId
§client_state: AnyClientState
Implementations§
source§impl IdentifiedAnyClientState
impl IdentifiedAnyClientState
pub fn new(client_id: ClientId, client_state: AnyClientState) -> Self
Trait Implementations§
source§impl Clone for IdentifiedAnyClientState
impl Clone for IdentifiedAnyClientState
source§fn clone(&self) -> IdentifiedAnyClientState
fn clone(&self) -> IdentifiedAnyClientState
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 IdentifiedAnyClientState
impl Debug for IdentifiedAnyClientState
source§impl<'de> Deserialize<'de> for IdentifiedAnyClientState
impl<'de> Deserialize<'de> for IdentifiedAnyClientState
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 From<IdentifiedAnyClientState> for IdentifiedClientState
impl From<IdentifiedAnyClientState> for IdentifiedClientState
source§fn from(value: IdentifiedAnyClientState) -> Self
fn from(value: IdentifiedAnyClientState) -> Self
Converts to this type from the input type.
source§impl PartialEq for IdentifiedAnyClientState
impl PartialEq for IdentifiedAnyClientState
source§fn eq(&self, other: &IdentifiedAnyClientState) -> bool
fn eq(&self, other: &IdentifiedAnyClientState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Protobuf<IdentifiedClientState> for IdentifiedAnyClientState
impl Protobuf<IdentifiedClientState> for IdentifiedAnyClientState
source§fn encode<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode<B>(self, buf: &mut B) -> Result<(), Error>where B: BufMut,
Encode into a buffer in Protobuf format. Read more
source§fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where
B: BufMut,
fn encode_length_delimited<B>(self, buf: &mut B) -> Result<(), Error>where B: BufMut,
Encode with a length-delimiter to a buffer in Protobuf format. Read more
source§fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode<B>(buf: B) -> Result<Self, Error>where B: Buf,
Constructor that attempts to decode an instance from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where B: Buf,
Constructor that attempts to decode a length-delimited instance from
the buffer. Read more
source§fn encoded_len(self) -> usize
fn encoded_len(self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
source§fn encode_vec(self) -> Vec<u8>
fn encode_vec(self) -> Vec<u8>
Encodes into a Protobuf-encoded
Vec<u8>
.source§fn decode_vec(v: &[u8]) -> Result<Self, Error>
fn decode_vec(v: &[u8]) -> Result<Self, Error>
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent).source§fn encode_length_delimited_vec(self) -> Vec<u8>
fn encode_length_delimited_vec(self) -> Vec<u8>
Encode with a length-delimiter to a
Vec<u8>
Protobuf-encoded message.source§impl Serialize for IdentifiedAnyClientState
impl Serialize for IdentifiedAnyClientState
impl StructuralPartialEq for IdentifiedAnyClientState
Auto Trait Implementations§
impl RefUnwindSafe for IdentifiedAnyClientState
impl Send for IdentifiedAnyClientState
impl Sync for IdentifiedAnyClientState
impl Unpin for IdentifiedAnyClientState
impl UnwindSafe for IdentifiedAnyClientState
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
§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