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