[−][src]Struct xp3::writer::XP3Writer
Implementations
impl<T: Write + Seek> XP3Writer<T>
[src]
pub fn start(
stream: T,
version: XP3HeaderVersion,
index_compression: XP3IndexCompression
) -> Result<Self, XP3Error>
[src]
stream: T,
version: XP3HeaderVersion,
index_compression: XP3IndexCompression
) -> Result<Self, XP3Error>
Start new XP3 file writing
pub fn append_extra_index(&mut self, index: XP3Index)
[src]
pub fn current_pos(&mut self) -> u64
[src]
pub fn enter_file(
&mut self,
protection: IndexInfoFlag,
name: String,
timestamp: Option<u64>
) -> EntryWriter<'_, T>ⓘNotable traits for EntryWriter<'a, T>
impl<'a, T: Write + Seek> Write for EntryWriter<'a, T>
[src]
&mut self,
protection: IndexInfoFlag,
name: String,
timestamp: Option<u64>
) -> EntryWriter<'_, T>ⓘ
Notable traits for EntryWriter<'a, T>
impl<'a, T: Write + Seek> Write for EntryWriter<'a, T>
Enter file entry start
pub fn finish(self) -> Result<(VirtualXP3, T), XP3Error>
[src]
Append indexes and finish file
Auto Trait Implementations
impl<T> RefUnwindSafe for XP3Writer<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for XP3Writer<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for XP3Writer<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for XP3Writer<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for XP3Writer<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
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,
pub 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.
pub 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>,