[][src]Struct hypercore::Node

pub struct Node { /* fields omitted */ }

Nodes that are persisted to disk.

Methods

impl Node
[src]

Create a new instance.

Convert a vector to a new instance.

Requires the index at which the buffer was read to be passed.

Convert to a buffer that can be written to disk.

Trait Implementations

impl PartialEq<Node> for Node
[src]

impl AsRef<Node> for Node
[src]

impl Clone for Node
[src]

Performs copy-assignment from source. Read more

impl Eq for Node
[src]

impl Debug for Node
[src]

impl Display for Node
[src]

impl Node for Node
[src]

Auto Trait Implementations

impl Send for Node

impl Sync for Node

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Same for T

Should always be Self