Struct freebsd_geom::Edge [−][src]
An Edge
connects two Geom
s in a tree.
In GEOM terminology, it represents a Consumer-Provider pair.
Fields
name: String
The name of the Edge
, established by the “provider” (associated with the parent Geom
).
Not identical to the parent Geom
’s name; for example, GeomClass::PART
geoms will have
names the represent the entire partition table, but individual Edge
s from them will have
names specific to a single partition entry.
mode: Mode
GEOM internal access reference counts
mediasize: u64
The size of the logical volume represented, in bytes
sectorsize: u64
The native sector size of the underlying volume, in bytes
stripesize: u64
The “stripe size” of the underlying media, in bytes (if any; may be zero)
stripeoffset: u64
metadata: Option<Box<EdgeMetadata>>
Metadata for Edge
s descending from DISK
, PART
, or LABEL
Geom
s.
consumer_geom: NodeId
Child, or consumer Geom
.
provider_geom: NodeId
Parent, or provider Geom
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,