pub enum RxProgress {
Receiving(usize),
Done(usize),
}Available on crate feature
unstable only.Expand description
Progress of an RxReception, see RxReception::poll.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Variants§
Receiving(usize)
The reception continues, or it has ended and codes that did not fit into the buffer are left. Contains the number of codes that the call copied.
Done(usize)
The reception has ended and all codes have been copied. Contains the number of codes that the call copied.
Trait Implementations§
Source§impl Clone for RxProgress
impl Clone for RxProgress
impl Copy for RxProgress
Source§impl Debug for RxProgress
impl Debug for RxProgress
impl Eq for RxProgress
Source§impl PartialEq for RxProgress
impl PartialEq for RxProgress
impl StructuralPartialEq for RxProgress
Auto Trait Implementations§
impl Freeze for RxProgress
impl RefUnwindSafe for RxProgress
impl Send for RxProgress
impl Sync for RxProgress
impl Unpin for RxProgress
impl UnsafeUnpin for RxProgress
impl UnwindSafe for RxProgress
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)