Struct single_value_channel::Updater [] [src]

pub struct Updater<T> { /* fields omitted */ }

The updating-half of the single value channel.

Methods

impl<T> Updater<T>
[src]

Updates the latest value in this channel, to be accessed the next time Receiver::latest or Receiver::latest_mut is called.

This call will fail with NoReceiverError if the receiver has been dropped.

Returns true if the receiver has been dropped. Thus indicating any following call to Updater::update would fail.

Trait Implementations

impl<T: Debug> Debug for Updater<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for Updater<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more