pub struct StreamingBlob {
pub data: Bytes,
}Expand description
A wrapper around bytes::Bytes for streaming blob data.
In the future, this may be replaced with an actual streaming type.
Fields§
§data: BytesThe underlying bytes data.
Implementations§
Trait Implementations§
Source§impl Clone for StreamingBlob
impl Clone for StreamingBlob
Source§fn clone(&self) -> StreamingBlob
fn clone(&self) -> StreamingBlob
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 StreamingBlob
impl Debug for StreamingBlob
Source§impl Default for StreamingBlob
impl Default for StreamingBlob
Source§fn default() -> StreamingBlob
fn default() -> StreamingBlob
Returns the “default value” for a type. Read more
Source§impl From<&[u8]> for StreamingBlob
impl From<&[u8]> for StreamingBlob
Source§impl From<Bytes> for StreamingBlob
impl From<Bytes> for StreamingBlob
Auto Trait Implementations§
impl !Freeze for StreamingBlob
impl RefUnwindSafe for StreamingBlob
impl Send for StreamingBlob
impl Sync for StreamingBlob
impl Unpin for StreamingBlob
impl UnsafeUnpin for StreamingBlob
impl UnwindSafe for StreamingBlob
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