[][src]Struct sysfs_class::ScsiHost

pub struct ScsiHost { /* fields omitted */ }

Fetch and modify SCSI host parameters.

Methods

impl ScsiHost[src]

pub fn active_mod(&self) -> Result<String>[src]

pub fn can_queue(&self) -> Result<i32>[src]

pub fn host_busy(&self) -> Result<u8>[src]

Sets the power management profile for this SCSI host.

Multiple profiles are given, and each profile is tried until one succeeds.

pub fn proc_name(&self) -> Result<String>[src]

pub fn sg_tablesize(&self) -> Result<i32>[src]

pub fn state(&self) -> Result<String>[src]

pub fn supported_mode(&self) -> Result<u8>[src]

pub fn use_blk_mq(&self) -> Result<u8>[src]

Trait Implementations

impl Clone for ScsiHost[src]

impl SysClass for ScsiHost[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.