Struct pinboard::Pinboard [] [src]

pub struct Pinboard<T: Clone>(_);

An instance of a Pinboard, holds a shared, mutable, eventually-consistent reference to a T.

Methods

impl<T: Clone> Pinboard<T>
[src]

[src]

Create a new Pinboard instance holding the given value.

[src]

Update the value stored in the Pinboard.

[src]

Clear out the Pinboard so its no longer holding any data.

[src]

Get a copy of the latest (well, recent) version of the posted data.

Trait Implementations

impl<T: Clone> Default for Pinboard<T>
[src]

[src]

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

impl<T: Clone> Drop for Pinboard<T>
[src]

[src]

Executes the destructor for this type. Read more

impl<T: Clone> From<Option<T>> for Pinboard<T>
[src]

[src]

Performs the conversion.

impl<T: Clone> Debug for Pinboard<T> where
    T: Debug
[src]

[src]

Formats the value using the given formatter.