pub struct BytesResource { /* private fields */ }Expand description
This struct is a pointer to a memory chunk or slice.
Implementations§
Trait Implementations§
Source§impl Clone for BytesResource
impl Clone for BytesResource
Source§fn clone(&self) -> BytesResource
fn clone(&self) -> BytesResource
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 BytesResource
impl Debug for BytesResource
impl Send for BytesResource
Auto Trait Implementations§
impl Freeze for BytesResource
impl RefUnwindSafe for BytesResource
impl !Sync for BytesResource
impl Unpin for BytesResource
impl UnwindSafe for BytesResource
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