pub struct WatchSubscription { /* private fields */ }Implementations§
Source§impl WatchSubscription
impl WatchSubscription
pub fn new(handle: WatchHandleRef, receiver: WatchReceiver) -> Self
pub fn handle(&self) -> WatchHandleRef
pub fn into_parts(self) -> (WatchHandleRef, WatchReceiver)
Auto Trait Implementations§
impl Freeze for WatchSubscription
impl !RefUnwindSafe for WatchSubscription
impl Send for WatchSubscription
impl Sync for WatchSubscription
impl Unpin for WatchSubscription
impl !UnwindSafe for WatchSubscription
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