pub struct RoutePlanRuntimeState { /* private fields */ }Implementations§
Source§impl RoutePlanRuntimeState
impl RoutePlanRuntimeState
pub fn set_provider_endpoint( &mut self, key: ProviderEndpointKey, state: RoutePlanUpstreamRuntimeState, )
pub fn provider_endpoint( &self, key: &ProviderEndpointKey, ) -> RoutePlanUpstreamRuntimeState
pub fn set_affinity_provider_endpoint( &mut self, key: Option<ProviderEndpointKey>, )
pub fn set_affinity_provider_endpoint_with_observed_at( &mut self, key: Option<ProviderEndpointKey>, last_selected_at_ms: Option<u64>, last_changed_at_ms: Option<u64>, )
pub fn affinity_provider_endpoint(&self) -> Option<&ProviderEndpointKey>
pub fn affinity_last_selected_at_ms(&self) -> Option<u64>
pub fn affinity_last_changed_at_ms(&self) -> Option<u64>
pub fn clear_affinity_provider_endpoint(&mut self)
Trait Implementations§
Source§impl Clone for RoutePlanRuntimeState
impl Clone for RoutePlanRuntimeState
Source§fn clone(&self) -> RoutePlanRuntimeState
fn clone(&self) -> RoutePlanRuntimeState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoutePlanRuntimeState
impl Debug for RoutePlanRuntimeState
Source§impl Default for RoutePlanRuntimeState
impl Default for RoutePlanRuntimeState
Source§fn default() -> RoutePlanRuntimeState
fn default() -> RoutePlanRuntimeState
Returns the “default value” for a type. Read more
Source§impl PartialEq for RoutePlanRuntimeState
impl PartialEq for RoutePlanRuntimeState
Source§fn eq(&self, other: &RoutePlanRuntimeState) -> bool
fn eq(&self, other: &RoutePlanRuntimeState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RoutePlanRuntimeState
impl StructuralPartialEq for RoutePlanRuntimeState
Auto Trait Implementations§
impl Freeze for RoutePlanRuntimeState
impl RefUnwindSafe for RoutePlanRuntimeState
impl Send for RoutePlanRuntimeState
impl Sync for RoutePlanRuntimeState
impl Unpin for RoutePlanRuntimeState
impl UnsafeUnpin for RoutePlanRuntimeState
impl UnwindSafe for RoutePlanRuntimeState
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.