[−][src]Enum btrfs_diskformat::ReplicationPolicy
The replication policy a [BlockGroup] implements. Only one policy may be set for a given group.
Variants
Trait Implementations
impl BitAnd<ReplicationPolicy> for ReplicationPolicy[src]
type Output = BitFlags<ReplicationPolicy>
The resulting type after applying the & operator.
pub fn bitand(self, other: Self) -> Self::Output[src]
impl BitOr<ReplicationPolicy> for ReplicationPolicy[src]
type Output = BitFlags<ReplicationPolicy>
The resulting type after applying the | operator.
pub fn bitor(self, other: Self) -> Self::Output[src]
impl BitXor<ReplicationPolicy> for ReplicationPolicy[src]
type Output = BitFlags<ReplicationPolicy>
The resulting type after applying the ^ operator.
pub fn bitxor(self, other: Self) -> Self::Output[src]
impl Clone for ReplicationPolicy[src]
pub fn clone(&self) -> ReplicationPolicy[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ReplicationPolicy[src]
impl Debug for ReplicationPolicy[src]
impl Hash for ReplicationPolicy[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl IntoEnumIterator for ReplicationPolicy[src]
type Iterator = ReplicationPolicyIter
pub fn iter() -> ReplicationPolicyIterⓘNotable traits for ReplicationPolicyIter
impl Iterator for ReplicationPolicyIter type Item = ReplicationPolicy;[src]
Notable traits for ReplicationPolicyIter
impl Iterator for ReplicationPolicyIter type Item = ReplicationPolicy;impl Not for ReplicationPolicy[src]
type Output = BitFlags<ReplicationPolicy>
The resulting type after applying the ! operator.
pub fn not(self) -> Self::Output[src]
impl PartialEq<ReplicationPolicy> for ReplicationPolicy[src]
pub fn eq(&self, other: &ReplicationPolicy) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl RawBitFlags for ReplicationPolicy[src]
impl RawBitFlags for ReplicationPolicy[src]
type Type = u64
The underlying integer type.
pub fn all() -> Self::Type[src]
pub fn bits(self) -> Self::Type[src]
pub fn flag_list() -> &'static [Self][src]
pub fn bitflags_type_name() -> &'static str[src]
impl StructuralPartialEq for ReplicationPolicy[src]
Auto Trait Implementations
impl RefUnwindSafe for ReplicationPolicy[src]
impl Send for ReplicationPolicy[src]
impl Sync for ReplicationPolicy[src]
impl Unpin for ReplicationPolicy[src]
impl UnwindSafe for ReplicationPolicy[src]
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,