Lines Matching refs:PropertyWatcherError
19 pub use self::error::{PropertyWatcherError, Result};
115 let prop_info = self.get_prop_info().ok_or(PropertyWatcherError::SystemPropertyAbsent)?; in read()
116 let mut result = Err(PropertyWatcherError::ReadCallbackNotCalled); in read()
120 let name = name.ok_or(PropertyWatcherError::MissingCString)?.to_str()?; in read()
121 let value = value.ok_or(PropertyWatcherError::MissingCString)?.to_str()?; in read()
122 f(name, value).map_err(PropertyWatcherError::CallbackError) in read()
152 return Err(PropertyWatcherError::WaitFailed); in wait_for_property_creation_until()
185 return Err(PropertyWatcherError::WaitFailed); in wait_for_property_change_until()
223 Err(PropertyWatcherError::SystemPropertyAbsent) => Ok(None), in read()
273 Err(PropertyWatcherError::SetPropertyFailed) in write()
326 Err(PropertyWatcherError::Uninitialized) in foreach()