pub struct DiskParameters {Show 14 fields
pub device_id: String,
pub vendor_id: String,
pub product_id: String,
pub product_revision_level: String,
pub serial_number: String,
pub model_number: String,
pub medium_rotation_rate: u16,
pub physical_sector_size: Option<u32>,
pub fua: Option<bool>,
pub write_cache: Option<bool>,
pub scsi_disk_size_in_bytes: Option<u64>,
pub odx: Option<bool>,
pub unmap: Option<bool>,
pub max_transfer_length: Option<usize>,
}
Fields§
§device_id: String
§vendor_id: String
§product_id: String
§product_revision_level: String
§serial_number: String
§model_number: String
§medium_rotation_rate: u16
§physical_sector_size: Option<u32>
§fua: Option<bool>
§write_cache: Option<bool>
§scsi_disk_size_in_bytes: Option<u64>
§odx: Option<bool>
§unmap: Option<bool>
§max_transfer_length: Option<usize>
Trait Implementations§
Source§impl Clone for DiskParameters
impl Clone for DiskParameters
Source§fn clone(&self) -> DiskParameters
fn clone(&self) -> DiskParameters
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 DiskParameters
impl Debug for DiskParameters
Source§impl DefaultEncoding for DiskParameters
impl DefaultEncoding for DiskParameters
Source§impl Inspect for DiskParameters
impl Inspect for DiskParameters
Source§impl PartialEq for DiskParameters
impl PartialEq for DiskParameters
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for DiskParameters
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for DiskParameters
Source§impl StructEncodeMetadata<Resource> for DiskParameters
impl StructEncodeMetadata<Resource> for DiskParameters
Source§impl StructMetadata for DiskParameters
impl StructMetadata for DiskParameters
impl Eq for DiskParameters
impl StructuralPartialEq for DiskParameters
Auto Trait Implementations§
impl Freeze for DiskParameters
impl RefUnwindSafe for DiskParameters
impl Send for DiskParameters
impl Sync for DiskParameters
impl Unpin for DiskParameters
impl UnwindSafe for DiskParameters
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].