Struct rkv::DatabaseFlags [] [src]

pub struct DatabaseFlags { /* fields omitted */ }

Database Options

Methods

impl DatabaseFlags
[src]

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

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

[src]

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

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

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

[src]

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

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Ord for DatabaseFlags
[src]

[src]

impl Copy for DatabaseFlags
[src]

impl Hash for DatabaseFlags
[src]

[src]

impl Not for DatabaseFlags
[src]

[src]

Returns the complement of this set of flags.

impl Clone for DatabaseFlags
[src]

impl BitXor<DatabaseFlags> for DatabaseFlags
[src]

[src]

Returns the left flags, but with all the right flags toggled.

impl BitOr<DatabaseFlags> for DatabaseFlags
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<DatabaseFlags> for DatabaseFlags
[src]

[src]

Adds the set of flags.

impl Octal for DatabaseFlags
[src]

[src]

impl BitAndAssign<DatabaseFlags> for DatabaseFlags
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<DatabaseFlags> for DatabaseFlags
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for DatabaseFlags
[src]

[src]

Formats the value using the given formatter.

impl Extend<DatabaseFlags> for DatabaseFlags
[src]

[src]

impl SubAssign<DatabaseFlags> for DatabaseFlags
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<DatabaseFlags> for DatabaseFlags
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<DatabaseFlags> for DatabaseFlags
[src]

[src]

Toggles the set of flags.

impl UpperHex for DatabaseFlags
[src]

[src]

impl Eq for DatabaseFlags
[src]

impl Binary for DatabaseFlags
[src]

[src]

impl FromIterator<DatabaseFlags> for DatabaseFlags
[src]

[src]

impl LowerHex for DatabaseFlags
[src]

[src]

impl Sub<DatabaseFlags> for DatabaseFlags
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<DatabaseFlags> for DatabaseFlags
[src]

[src]

[src]

[src]

[src]

[src]