Struct quilkin_xds::config::ClientTracker
source · pub struct ClientTracker {
pub node_id: String,
/* private fields */
}
Fields§
§node_id: String
Implementations§
source§impl ClientTracker
impl ClientTracker
pub fn track_client(node_id: String) -> Self
pub fn get_state(&mut self, rt: &str) -> Option<&mut ClientState>
pub fn track_state(&mut self, rt: String) -> &mut ClientState
pub fn tracked_resources(&self) -> impl Iterator<Item = String> + '_
pub fn needs_ack(&mut self, ack: AwaitingAck) -> Result<Uuid>
pub fn apply_ack(&mut self, uuid: Uuid) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for ClientTracker
impl Send for ClientTracker
impl Sync for ClientTracker
impl Unpin for ClientTracker
impl UnwindSafe for ClientTracker
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<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