the dropped .into() is guarded by the bumped build-dependency on
proxmox-sys 0.4.1, the missing Eq is a new clippy lint.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
}
#[api]
-#[derive(PartialEq, Serialize, Deserialize)]
+#[derive(PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
/// The level of syncing that is done when writing into a datastore.
pub enum DatastoreFSyncLevel {
oflags | noatime,
Mode::empty(),
) {
- Ok(fd) => Ok(Some(fd.into())),
+ Ok(fd) => Ok(Some(fd)),
Err(Errno::ENOENT) => {
if existed {
self.report_vanished_file()?;