pub struct NeededBlob {
pub blob: Blob<NeedsTruncate>,
pub closer: BlobCloser,
}
Expand description
A blob that needs to be written.
Fields§
§blob: Blob<NeedsTruncate>
Typestate wrapper around the blob. Clients must first call truncate(), then write() until all data is provided.
closer: BlobCloser
Helper object that can close the blob independent of what state blob
is in.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NeededBlob
impl !RefUnwindSafe for NeededBlob
impl Send for NeededBlob
impl !Sync for NeededBlob
impl Unpin for NeededBlob
impl !UnwindSafe for NeededBlob
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