Struct oci_spec::runtime::WindowsStorageResourcesBuilder
source · pub struct WindowsStorageResourcesBuilder { /* private fields */ }
Expand description
Builder for WindowsStorageResources
.
Implementations§
source§impl WindowsStorageResourcesBuilder
impl WindowsStorageResourcesBuilder
sourcepub fn iops<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn iops<VALUE: Into<u64>>(self, value: VALUE) -> Self
Specifies maximum Iops for the system drive.
sourcepub fn bps<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn bps<VALUE: Into<u64>>(self, value: VALUE) -> Self
Specifies maximum bytes per second for the system drive.
sourcepub fn sandbox_size<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn sandbox_size<VALUE: Into<u64>>(self, value: VALUE) -> Self
Sandbox size specifies the minimum size of the system drive in bytes.
sourcepub fn build(self) -> Result<WindowsStorageResources, OciSpecError>
pub fn build(self) -> Result<WindowsStorageResources, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowsStorageResourcesBuilder
impl RefUnwindSafe for WindowsStorageResourcesBuilder
impl Send for WindowsStorageResourcesBuilder
impl Sync for WindowsStorageResourcesBuilder
impl Unpin for WindowsStorageResourcesBuilder
impl UnwindSafe for WindowsStorageResourcesBuilder
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