Struct bmemcached::StoredType []

pub struct StoredType {
    // some fields omitted
}

Methods

impl StoredType

fn empty() -> StoredType

Returns an empty set of flags.

fn all() -> StoredType

Returns the set containing all flags.

fn bits(&self) -> u32

Returns the raw value of the flags currently stored.

fn from_bits(bits: u32) -> Option<StoredType>

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

fn from_bits_truncate(bits: u32) -> StoredType

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

fn is_all(&self) -> bool

Returns true if all flags are currently set.

fn intersects(&self, other: StoredType) -> bool

Returns true if there are flags common to both self and other.

fn contains(&self, other: StoredType) -> bool

Returns true all of the flags in other are contained within self.

fn insert(&mut self, other: StoredType)

Inserts the specified flags in-place.

fn remove(&mut self, other: StoredType)

Removes the specified flags in-place.

fn toggle(&mut self, other: StoredType)

Toggles the specified flags in-place.

Trait Implementations

impl Debug for StoredType

fn fmt(&self, f: &mut Formatter) -> Result

impl BitOr for StoredType

type Output = StoredType

fn bitor(self, other: StoredType) -> StoredType

impl BitOrAssign for StoredType

fn bitor_assign(&mut self, other: StoredType)

impl BitXor for StoredType

type Output = StoredType

fn bitxor(self, other: StoredType) -> StoredType

impl BitXorAssign for StoredType

fn bitxor_assign(&mut self, other: StoredType)

impl BitAnd for StoredType

type Output = StoredType

fn bitand(self, other: StoredType) -> StoredType

impl BitAndAssign for StoredType

fn bitand_assign(&mut self, other: StoredType)

impl Sub for StoredType

type Output = StoredType

fn sub(self, other: StoredType) -> StoredType

impl SubAssign for StoredType

fn sub_assign(&mut self, other: StoredType)

impl Not for StoredType

type Output = StoredType

fn not(self) -> StoredType

impl FromIterator<StoredType> for StoredType

fn from_iter<T: IntoIterator<Item=StoredType>>(iterator: T) -> StoredType

Derived Implementations

impl Hash for StoredType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for StoredType

fn cmp(&self, __arg_0: &StoredType) -> Ordering

impl PartialOrd for StoredType

fn partial_cmp(&self, __arg_0: &StoredType) -> Option<Ordering>

fn lt(&self, __arg_0: &StoredType) -> bool

fn le(&self, __arg_0: &StoredType) -> bool

fn gt(&self, __arg_0: &StoredType) -> bool

fn ge(&self, __arg_0: &StoredType) -> bool

impl Clone for StoredType

fn clone(&self) -> StoredType

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for StoredType

impl PartialEq for StoredType

fn eq(&self, __arg_0: &StoredType) -> bool

fn ne(&self, __arg_0: &StoredType) -> bool

impl Copy for StoredType