[][src]Struct container_spec::LinuxIntelRdtBuilder

pub struct LinuxIntelRdtBuilder { /* fields omitted */ }

Builder for LinuxIntelRdt.

Methods

impl LinuxIntelRdtBuilder[src]

pub fn clos_id<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The identity for RDT Class of Service

pub fn l3_cache_schema<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The schema for L3 cache id and capacity bitmask (CBM) Format: "L3:<cache_id0>=;<cache_id1>=;..."

pub fn mem_bw_schema<VALUE: Into<Option<String>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

The schema of memory bandwidth per L3 cache id Format: "MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;..." The unit of memory bandwidth is specified in "percentages" by Default, Clone, and in "MBps" if MBA Software Controller is enabled.

pub fn build(&self) -> Result<LinuxIntelRdt, String>[src]

Builds a new LinuxIntelRdt.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for LinuxIntelRdtBuilder[src]

impl Default for LinuxIntelRdtBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.