pub struct ValuesWatcherThread { /* private fields */ }Expand description
The actual value watcher thread struct, containing the thread handle and cancellation signal.
Implementations§
Source§impl ValuesWatcherThread
impl ValuesWatcherThread
Sourcepub fn new(
values_path: &Path,
registry: Arc<SchemaRegistry>,
values: Arc<ArcSwap<ValuesByNamespace>>,
) -> ValidationResult<Self>
pub fn new( values_path: &Path, registry: Arc<SchemaRegistry>, values: Arc<ArcSwap<ValuesByNamespace>>, ) -> ValidationResult<Self>
Creates a new ValuesWatcherThread and spins up the watcher thread
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValuesWatcherThread
impl !RefUnwindSafe for ValuesWatcherThread
impl Send for ValuesWatcherThread
impl Sync for ValuesWatcherThread
impl Unpin for ValuesWatcherThread
impl UnsafeUnpin for ValuesWatcherThread
impl !UnwindSafe for ValuesWatcherThread
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more