[−][src]Struct genie_drs::InMemoryStrategy
Create the entire DRS file in memory first, then flush it to the output.
This works best for archives with small files.
Trait Implementations
impl Default for InMemoryStrategy
[src]
fn default() -> InMemoryStrategy
[src]
impl<W> Strategy<W> for InMemoryStrategy where
W: Write + Seek,
[src]
W: Write + Seek,
fn open(&mut self, _drs: &mut InnerDRSWriter<W>) -> Result<(), Error>
[src]
fn add_resource(
&mut self,
_drs: &mut InnerDRSWriter<W>,
table: ResourceType,
resource: DRSResource,
data: &mut dyn Read
) -> Result<DRSResource, Error>
[src]
&mut self,
_drs: &mut InnerDRSWriter<W>,
table: ResourceType,
resource: DRSResource,
data: &mut dyn Read
) -> Result<DRSResource, Error>
fn close(&mut self, drs: &mut InnerDRSWriter<W>) -> Result<(), Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InMemoryStrategy
impl Send for InMemoryStrategy
impl Sync for InMemoryStrategy
impl Unpin for InMemoryStrategy
impl UnwindSafe for InMemoryStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,