Trait devicemapper::TargetParams

source ·
pub trait TargetParams:
    Clone
    + Debug
    + Display
    + Eq
    + FromStr
    + PartialEq {
    // Required methods
    fn param_str(&self) -> String;
    fn target_type(&self) -> TargetTypeBuf;
}
Expand description

The trait for properties of the params string of TargetType

Required Methods§

source

fn param_str(&self) -> String

Return the param string only

source

fn target_type(&self) -> TargetTypeBuf

Return the target type

Object Safety§

This trait is not object safe.

Implementors§