pub enum ResourceForkMode {
Native,
AppleDouble,
MacBinary,
BinHex,
SeparateRsrc,
DataForkOnly,
}Expand description
How to handle resource forks during extraction.
Variants§
Native
Write resource fork directly to the file’s native resource fork
(macOS only — uses filename/..namedfork/rsrc).
AppleDouble
AppleDouble format: ._prefix sidecar files
MacBinary
MacBinary III: single .bin file containing both forks
BinHex
BinHex 4.0: single .hqx text file containing both forks + Finder info
SeparateRsrc
Separate .rsrc sidecar files
DataForkOnly
Skip resource forks entirely
Implementations§
Trait Implementations§
Source§impl Clone for ResourceForkMode
impl Clone for ResourceForkMode
impl Copy for ResourceForkMode
Source§impl Debug for ResourceForkMode
impl Debug for ResourceForkMode
Source§impl PartialEq for ResourceForkMode
impl PartialEq for ResourceForkMode
impl StructuralPartialEq for ResourceForkMode
Auto Trait Implementations§
impl Freeze for ResourceForkMode
impl RefUnwindSafe for ResourceForkMode
impl Send for ResourceForkMode
impl Sync for ResourceForkMode
impl Unpin for ResourceForkMode
impl UnsafeUnpin for ResourceForkMode
impl UnwindSafe for ResourceForkMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more