Struct crushtool::CrushBucketTree [] [src]

pub struct CrushBucketTree {
    pub bucket: Bucket,
    pub num_nodes: u8,
    pub node_weights: Vec<u32>,
}

CrushBucketTree is generally not used in Ceph because the algorithm is buggy.

Fields

note: h.size is tree size, not number of actual items

Trait Implementations

impl Debug for CrushBucketTree
[src]

Formats the value using the given formatter.

impl Clone for CrushBucketTree
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CrushBucketTree
[src]

impl Hash for CrushBucketTree
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for CrushBucketTree
[src]

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

This method tests for !=.

impl Decodable for CrushBucketTree
[src]

Deserialize a value using a Decoder.

impl Encodable for CrushBucketTree
[src]

Serialize a value using an Encoder.