Benign rust 240 installs Download

dekopon-provider-storage 0.19.0

“Rust guest bindings for Dekopon's namespace-bound provider storage interfaces”

Package under two months oldRelease published within seven days
SHA-2560b2db5687d2bedc3dcad4ec114431aa0aad08d31b748d40ac5ffcfa850728d1e
MaleculeH(F)Md(Pa)

Evidence

imports std::error::Error lines 32–40
32:69… ithout invocation-wide rollback.
33
34 use std::{error::Error, fmt};
35
36 use super::jsonl_bindings::dekopon::storage::jsonl as wit;
37
38 /// One bounded read result.
39 #[derive(Clone, Debug, Eq, PartialEq)]
40 pub st …
imports super::map_error lines 127–137
127:9… wit::StorageError::Io => StorageError::Io,
128 }
129 }
130
131 #[cfg(test)]
132 mod tests {
133 use super::{StorageError, map_error, wit};
134
135 /// Eleven hand-written arms across two independently declared enums.
136 ///
137 / …
#[test] attribute lines 139–144
139:64… s match, so this table only has to
140 /// pin the pairing.
141 #[test]
142 fn every_wit_error_maps_to_its_own_variant() {
143 let table = [
144 (wit::StorageError::NotFound, …
imports super::durable_bindings::dekopon::storage::durable_files as wit lines 178–185
178:78… es.
179
180 use std::{error::Error, fmt};
181
182 use super::durable_bindings::dekopon::storage::durable_files as wit;
183
184 /// Validated open intent. At least one of read or write must be selected.
185 #[d …
Calls native open or sys_open lines 320–326
320:25… _reserved_lock().map_err(map_error)
321 }
322 }
323
324 pub fn open(name: &str, options: OpenOptions) -> Result<File, StorageError> {
325 let mut flags = wit::OpenFlags::empty();
326 flags …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.