pub struct BencodeString<'a, 't> { /* private fields */ }
Expand description
A bencoded string
Implementations§
Trait Implementations§
Source§impl<'a, 't> Clone for BencodeString<'a, 't>
impl<'a, 't> Clone for BencodeString<'a, 't>
Source§fn clone(&self) -> BencodeString<'a, 't>
fn clone(&self) -> BencodeString<'a, 't>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a, 't> Freeze for BencodeString<'a, 't>
impl<'a, 't> RefUnwindSafe for BencodeString<'a, 't>
impl<'a, 't> Send for BencodeString<'a, 't>
impl<'a, 't> Sync for BencodeString<'a, 't>
impl<'a, 't> Unpin for BencodeString<'a, 't>
impl<'a, 't> UnwindSafe for BencodeString<'a, 't>
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