pub struct Pending<'a, T> { /* private fields */ }Expand description
An encoded frame the caller has not yet acknowledged writing.
Write the frame, then commit. The edit is staged until commit, so dropping the
frame leaves the window unchanged and makes the next frame open a new group.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !Freeze for Pending<'a, T>
impl<'a, T> !UnwindSafe for Pending<'a, T>
impl<'a, T> RefUnwindSafe for Pending<'a, T>where
&'a mut Encoder<T>: RefUnwindSafe,
impl<'a, T> Send for Pending<'a, T>
impl<'a, T> Sync for Pending<'a, T>
impl<'a, T> Unpin for Pending<'a, T>
impl<'a, T> UnsafeUnpin for Pending<'a, T>where
&'a mut Encoder<T>: UnsafeUnpin,
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