pub struct VipConfig {
pub address: String,
pub port: u16,
pub algorithm: LbAlgorithm,
pub backends: Vec<String>,
}Expand description
VIP configuration entry.
Fields§
§address: StringVIP address.
port: u16VIP port.
algorithm: LbAlgorithmAlgorithm name.
backends: Vec<String>Backend addresses (addr:port).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VipConfig
impl RefUnwindSafe for VipConfig
impl Send for VipConfig
impl Sync for VipConfig
impl Unpin for VipConfig
impl UnwindSafe for VipConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)