Skip to main content

Module watch

Module watch 

Source

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use std::collections::btree_map::Entry; ๐Ÿ”’
use std::ops::RangeToInclusive; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use futures::pin_mut; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use tokio::sync::watch::Receiver; ๐Ÿ”’
use tokio::sync::watch::Sender; ๐Ÿ”’
use tokio::sync::watch::channel; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::defer; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::smallvec::SmallVec; ๐Ÿ”’
use crate::keyval::KeyBuf; ๐Ÿ”’
use crate::keyval::serialize_key; ๐Ÿ”’

Structsยง

Watch ๐Ÿ”’
Owns the prefix subscriptions registered for a map.

Type Aliasesยง

KeyVec ๐Ÿ”’
Buffers stale watcher keys discovered during notification.
Watchers ๐Ÿ”’
Stores prefix subscriptions in raw-key order.