pub enum InfoHash {
V1([u8; 20]),
V2([u8; 32]),
}Variants§
Implementations§
Trait Implementations§
impl Copy for InfoHash
impl Eq for InfoHash
Auto Trait Implementations§
impl Freeze for InfoHash
impl RefUnwindSafe for InfoHash
impl Send for InfoHash
impl Sync for InfoHash
impl Unpin for InfoHash
impl UnwindSafe for InfoHash
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