Err(io::Error::new(
io::ErrorKind::AlreadyExists,
format!( "too many temporary files exist in base `{}` with suffix `{}`",
base.display(),
suffix
),
))
}
impl Drop for NamedTempfile { fn drop(&mutself) { // On Windows you have to close all handle to it before // removing the file. self.file.take(); let _ = remove_file(&self.path);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.