pub struct TorrentBytes(/* private fields */);Expand description
Owned torrent byte string whose identity is the exact raw bytes.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for TorrentBytes
impl AsRef<[u8]> for TorrentBytes
Source§impl Clone for TorrentBytes
impl Clone for TorrentBytes
Source§fn clone(&self) -> TorrentBytes
fn clone(&self) -> TorrentBytes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TorrentBytes
impl Debug for TorrentBytes
Source§impl Hash for TorrentBytes
impl Hash for TorrentBytes
Source§impl Ord for TorrentBytes
impl Ord for TorrentBytes
Source§fn cmp(&self, other: &TorrentBytes) -> Ordering
fn cmp(&self, other: &TorrentBytes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TorrentBytes
impl PartialEq for TorrentBytes
Source§impl PartialOrd for TorrentBytes
impl PartialOrd for TorrentBytes
impl Eq for TorrentBytes
impl StructuralPartialEq for TorrentBytes
Auto Trait Implementations§
impl Freeze for TorrentBytes
impl RefUnwindSafe for TorrentBytes
impl Send for TorrentBytes
impl Sync for TorrentBytes
impl Unpin for TorrentBytes
impl UnwindSafe for TorrentBytes
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