Struct pagecache::Radix [] [src]

pub struct Radix<T> where
    T: 'static + Send + Sync
{ /* fields omitted */ }

A simple lock-free radix tree.

Methods

impl<T> Radix<T> where
    T: 'static + Send + Sync
[src]

[src]

Try to create a new item in the tree.

[src]

Atomically swap the previous value in a tree with a new one.

[src]

Compare and swap an old value to a new one.

[src]

Try to get a value from the tree.

[src]

Delete a value from the tree, returning the old value if it was set.

Trait Implementations

impl<T> Default for Radix<T> where
    T: 'static + Send + Sync
[src]

[src]

Returns the "default value" for a type. Read more

impl<T> Drop for Radix<T> where
    T: 'static + Send + Sync
[src]

[src]

Executes the destructor for this type. Read more