pub enum Topic {
TigerTreeHash(String),
SHA1(String),
BitPrint(String, String),
ED2K(String),
AICH(String),
Kazaa(String),
BitTorrentInfoHash(String),
MD5(String),
}
Expand description
Topic (hash) of a Magnet URI
Variants§
TigerTreeHash(String)
urn:tree:tiger:TTHHash
SHA1(String)
urn:sha1:SHA1Hash
BitPrint(String, String)
urn:bitprint:SHA1Hash.TTHHash
ED2K(String)
urn:ed2k:ED2KHash
AICH(String)
urn:aich:AICHHash
Kazaa(String)
urn:kzhash:KazaaHash
BitTorrentInfoHash(String)
urn:btih:BTInfoHash
MD5(String)
urn:md5:MD5Hash
Trait Implementations§
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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