Struct tap::mappedvfile::MappedVFileBuilder
source · [−]pub struct MappedVFileBuilder { /* private fields */ }
Expand description
This is an implementation of the trait VFileBuilder that help to easily write filesystem plugin by creating a file builder that accept a FileRanges that help building the different chunk of data of the generated file.
Implementations
sourceimpl MappedVFileBuilder
impl MappedVFileBuilder
sourcepub fn new(file_ranges: FileRanges) -> Self
pub fn new(file_ranges: FileRanges) -> Self
Return a new VFileBuilder from a range which contain Range and FileOffset helping build new file.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for MappedVFileBuilder
impl<'de> Deserialize<'de> for MappedVFileBuilder
sourcefn deserialize<D>(_deserializer: D) -> Result<MappedVFileBuilder, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<MappedVFileBuilder, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for MappedVFileBuilder
impl Serialize for MappedVFileBuilder
Auto Trait Implementations
impl !RefUnwindSafe for MappedVFileBuilder
impl Send for MappedVFileBuilder
impl Sync for MappedVFileBuilder
impl Unpin for MappedVFileBuilder
impl !UnwindSafe for MappedVFileBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more