pub enum RootName {
Automatic,
Override(Vec<u8>),
}Expand description
How the torrent root name is selected.
Variants§
Automatic
Use the scanned file or directory name.
Override(Vec<u8>)
Use caller-provided raw torrent name bytes.
Trait Implementations§
impl Eq for RootName
impl StructuralPartialEq for RootName
Auto Trait Implementations§
impl Freeze for RootName
impl RefUnwindSafe for RootName
impl Send for RootName
impl Sync for RootName
impl Unpin for RootName
impl UnwindSafe for RootName
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