mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 05:31:32 +00:00
feat(xenstore): multi-watch and maybe-commit support (#429)
This commit is contained in:
@ -48,6 +48,13 @@ impl Error {
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_again_response(&self) -> bool {
|
||||
match self {
|
||||
Error::ResponseError(message) => message == "EAGAIN",
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
Reference in New Issue
Block a user