Enum fswatch_sys::FswStatus
[−]
[src]
pub enum FswStatus {
Ok,
UnknownError,
SessionUnknown,
MonitorAlreadyExists,
Memory,
UnknownMonitorType,
CallbackNotSet,
PathsNotSet,
MissingContext,
InvalidPath,
InvalidCallback,
InvalidLatency,
InvalidRegex,
MonitorAlreadyRunning,
UnknownValue,
InvalidProprety,
}Status codes from fswatch.
Most operations return a status code, either Ok or an error. A successful operation that
returns Ok is represented by returning Ok(T), where T is data returned, if any. If no data
is returned, () is T.
Errors are represented by Err(FswStatus), with the status returned by the operation being
directly available inside the Err.
Variants
OkUnknownErrorOccasionally used by the Rust library to denote errors without status codes in fswatch.
SessionUnknownMonitorAlreadyExistsMemoryUnknownMonitorTypeCallbackNotSetPathsNotSetMissingContextInvalidPathInvalidCallbackInvalidLatencyInvalidRegexMonitorAlreadyRunningUnknownValueInvalidPropretyTrait Implementations
impl Debug for FswStatus[src]
impl PartialEq for FswStatus[src]
fn eq(&self, __arg_0: &FswStatus) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.