Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/structured_values/mod.rs')
-rw-r--r--src/structured_values/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structured_values/mod.rs b/src/structured_values/mod.rs
index ce716d2..2f9bbc8 100644
--- a/src/structured_values/mod.rs
+++ b/src/structured_values/mod.rs
@@ -51,8 +51,8 @@ pub trait NtfsStructuredValue: Sized {
/// Create a structured value from an arbitrary data slice.
/// This handles Resident Attributes of File Records AND Keys of Index Records (when an attribute is indexed).
-pub trait NtfsStructuredValueFromData<'d>: NtfsStructuredValue {
- fn from_data(data: &'d [u8], position: u64) -> Result<Self>;
+pub trait NtfsStructuredValueFromSlice<'s>: NtfsStructuredValue {
+ fn from_slice(slice: &'s [u8], position: u64) -> Result<Self>;
}
/// Create a structured value from a Non-Resident Attribute Value.