Function tor_hsservice::internal_prelude::watch::channel_with_option
pub fn channel_with_option<T>() -> (Sender<Option<T>>, Receiver<Option<T>>)where
T: Clone,
Expand description
Constructs a pair of channel endpoints that store Option
This is helpful if T does not implement Default, and you don’t have an initial value.