pub struct WindowsStorageResources { /* private fields */ }
Expand description
WindowsStorageResources contains storage resource management settings.
Implementations§
Source§impl WindowsStorageResources
impl WindowsStorageResources
Sourcepub fn set_iops(&mut self, val: Option<u64>) -> &mut Self
pub fn set_iops(&mut self, val: Option<u64>) -> &mut Self
Specifies maximum Iops for the system drive.
Sourcepub fn set_bps(&mut self, val: Option<u64>) -> &mut Self
pub fn set_bps(&mut self, val: Option<u64>) -> &mut Self
Specifies maximum bytes per second for the system drive.
Sourcepub fn set_sandbox_size(&mut self, val: Option<u64>) -> &mut Self
pub fn set_sandbox_size(&mut self, val: Option<u64>) -> &mut Self
Sandbox size specifies the minimum size of the system drive in bytes.
Trait Implementations§
Source§impl Clone for WindowsStorageResources
impl Clone for WindowsStorageResources
Source§fn clone(&self) -> WindowsStorageResources
fn clone(&self) -> WindowsStorageResources
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowsStorageResources
impl Debug for WindowsStorageResources
Source§impl Default for WindowsStorageResources
impl Default for WindowsStorageResources
Source§fn default() -> WindowsStorageResources
fn default() -> WindowsStorageResources
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowsStorageResources
impl<'de> Deserialize<'de> for WindowsStorageResources
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowsStorageResources
impl PartialEq for WindowsStorageResources
Source§impl Serialize for WindowsStorageResources
impl Serialize for WindowsStorageResources
impl Copy for WindowsStorageResources
impl Eq for WindowsStorageResources
impl StructuralPartialEq for WindowsStorageResources
Auto Trait Implementations§
impl Freeze for WindowsStorageResources
impl RefUnwindSafe for WindowsStorageResources
impl Send for WindowsStorageResources
impl Sync for WindowsStorageResources
impl Unpin for WindowsStorageResources
impl UnwindSafe for WindowsStorageResources
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)