pub struct BytesSource { /* private fields */ }Expand description
In-memory ByteSource backed by a byte buffer. Handy for small payloads
and tests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BytesSource
impl RefUnwindSafe for BytesSource
impl Send for BytesSource
impl Sync for BytesSource
impl Unpin for BytesSource
impl UnsafeUnpin for BytesSource
impl UnwindSafe for BytesSource
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