pub struct UnsupportedPartSink;Expand description
The sink type for backends whose multipart support arrives later.
Trait Implementations§
Source§impl Debug for UnsupportedPartSink
impl Debug for UnsupportedPartSink
Source§impl PartSink for UnsupportedPartSink
impl PartSink for UnsupportedPartSink
Source§async fn write(&mut self, _chunk: Bytes) -> Result<(), StoreError>
async fn write(&mut self, _chunk: Bytes) -> Result<(), StoreError>
Append a non-empty chunk without exceeding the part’s expected length.
Source§async fn commit(self) -> Result<Vec<u8>, StoreError>
async fn commit(self) -> Result<Vec<u8>, StoreError>
Verify length and subtree CV, then return an opaque backend tag.
A CV mismatch is
StoreError::PartSubtreeMismatch; other invalid
staged state is StoreError::Invalid.Auto Trait Implementations§
impl Freeze for UnsupportedPartSink
impl RefUnwindSafe for UnsupportedPartSink
impl Send for UnsupportedPartSink
impl Sync for UnsupportedPartSink
impl Unpin for UnsupportedPartSink
impl UnsafeUnpin for UnsupportedPartSink
impl UnwindSafe for UnsupportedPartSink
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