pub struct OutputSink { /* private fields */ }Expand description
A streaming output sink for writing bytes to a storage backend.
This type abstracts over backend-specific sink implementations. Callers
obtain a sink via open_output_sink and then stream bytes through the
writer() handle. Finalization is explicit via finish() to allow
backend-specific commit semantics (e.g., atomic rename or multipart upload).
Implementations§
Source§impl OutputSink
impl OutputSink
Auto Trait Implementations§
impl Freeze for OutputSink
impl RefUnwindSafe for OutputSink
impl Send for OutputSink
impl Sync for OutputSink
impl Unpin for OutputSink
impl UnsafeUnpin for OutputSink
impl UnwindSafe for OutputSink
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more