pub struct OpWriteObjectInput<D: AsRef<[u8]>, S: Unpin + Stream<Item = Result<D, Box<dyn Error + Send + Sync>>>> {
pub offset: u64,
pub incomplete_token: IncompleteToken,
pub data_len: u64,
pub data_stream: S,
}
Fields§
§offset: u64
§incomplete_token: IncompleteToken
§data_len: u64
§data_stream: S
Auto Trait Implementations§
impl<D, S> Freeze for OpWriteObjectInput<D, S>where
S: Freeze,
impl<D, S> RefUnwindSafe for OpWriteObjectInput<D, S>where
S: RefUnwindSafe,
impl<D, S> Send for OpWriteObjectInput<D, S>where
S: Send,
impl<D, S> Sync for OpWriteObjectInput<D, S>where
S: Sync,
impl<D, S> Unpin for OpWriteObjectInput<D, S>
impl<D, S> UnwindSafe for OpWriteObjectInput<D, S>where
S: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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