pub struct BackendGroupSnapshot {
pub strategy: LbStrategy,
pub backends: Vec<BackendSnapshot>,
}Expand description
Point-in-time snapshot of a backend group’s state.
Fields§
§strategy: LbStrategyThe load-balancing strategy for this group.
backends: Vec<BackendSnapshot>Snapshot of each backend in the group.
Trait Implementations§
Source§impl Clone for BackendGroupSnapshot
impl Clone for BackendGroupSnapshot
Source§fn clone(&self) -> BackendGroupSnapshot
fn clone(&self) -> BackendGroupSnapshot
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BackendGroupSnapshot
impl RefUnwindSafe for BackendGroupSnapshot
impl Send for BackendGroupSnapshot
impl Sync for BackendGroupSnapshot
impl Unpin for BackendGroupSnapshot
impl UnsafeUnpin for BackendGroupSnapshot
impl UnwindSafe for BackendGroupSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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