pub struct PendingSourceWork { /* private fields */ }Expand description
One source-presentation pass waiting to be encoded by its first consumer.
Implementations§
Source§impl PendingSourceWork
impl PendingSourceWork
Sourcepub fn retained_bytes(&self) -> u64
pub fn retained_bytes(&self) -> u64
Returns bytes retained only until the pending pass is submitted.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PendingSourceWork
impl RefUnwindSafe for PendingSourceWork
impl Send for PendingSourceWork
impl Sync for PendingSourceWork
impl Unpin for PendingSourceWork
impl UnsafeUnpin for PendingSourceWork
impl UnwindSafe for PendingSourceWork
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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