pub struct CniResult {
pub cni_version: String,
pub interfaces: Vec<CniInterface>,
pub ips: Vec<CniIpConfig>,
pub routes: Vec<CniRoute>,
pub dns: CniDns,
}Expand description
Result returned from a CNI plugin operation.
Fields§
§cni_version: StringCNI version.
interfaces: Vec<CniInterface>Created interfaces.
ips: Vec<CniIpConfig>Assigned IP addresses.
routes: Vec<CniRoute>Routes added.
dns: CniDnsDNS configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CniResult
impl RefUnwindSafe for CniResult
impl Send for CniResult
impl Sync for CniResult
impl Unpin for CniResult
impl UnwindSafe for CniResult
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)