Struct devicemapper::ThinTargetParams
source · pub struct ThinTargetParams {
pub pool: Device,
pub thin_id: ThinDevId,
pub external_origin_dev: Option<Device>,
}
Expand description
Struct representing params for a thin target
Fields§
§pool: Device
Thin pool for the given thin device
thin_id: ThinDevId
Thin ID
external_origin_dev: Option<Device>
Optional block device outside of pool to be treated as a read-only snapshot origin
Implementations§
Trait Implementations§
source§impl Clone for ThinTargetParams
impl Clone for ThinTargetParams
source§fn clone(&self) -> ThinTargetParams
fn clone(&self) -> ThinTargetParams
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 ThinTargetParams
impl Debug for ThinTargetParams
source§impl Display for ThinTargetParams
impl Display for ThinTargetParams
source§impl FromStr for ThinTargetParams
impl FromStr for ThinTargetParams
source§impl PartialEq for ThinTargetParams
impl PartialEq for ThinTargetParams
source§fn eq(&self, other: &ThinTargetParams) -> bool
fn eq(&self, other: &ThinTargetParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TargetParams for ThinTargetParams
impl TargetParams for ThinTargetParams
source§fn target_type(&self) -> TargetTypeBuf
fn target_type(&self) -> TargetTypeBuf
Return the target type
impl Eq for ThinTargetParams
impl StructuralPartialEq for ThinTargetParams
Auto Trait Implementations§
impl Freeze for ThinTargetParams
impl RefUnwindSafe for ThinTargetParams
impl Send for ThinTargetParams
impl Sync for ThinTargetParams
impl Unpin for ThinTargetParams
impl UnwindSafe for ThinTargetParams
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