pub struct Shared {
pub state: Mutex<State>,
}Fields§
§state: Mutex<State>Implementations§
pub fn reload_watches(&self)
pub fn recover_watches(&self)
pub fn get_watch(&self, wd: &WatchDescriptor) -> Option<WatchData>
pub fn remove_watch(&self, wd: &WatchDescriptor) -> Option<WatchData>
pub fn has_socket(&self) -> bool
pub fn rx_try_recv(&self) -> Result<SocketMessage, TryRecvError>
pub fn push_failed_watch(&self, watch: WatchData)
pub fn unset_socket(&self)
Auto Trait Implementations§
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