pub enum SendStatus {
Done,
LeftoverBytes(usize),
}
Expand description
The status of the slave send operation
Variants§
Done
The slave send operation is done, all bytes have been sent and the master is not requesting more
LeftoverBytes(usize)
The slave send operation is done, but there are leftover bytes that the master did not read
Trait Implementations§
Source§impl Clone for SendStatus
impl Clone for SendStatus
Source§fn clone(&self) -> SendStatus
fn clone(&self) -> SendStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendStatus
impl Debug for SendStatus
Source§impl Format for SendStatus
impl Format for SendStatus
Source§impl PartialEq for SendStatus
impl PartialEq for SendStatus
impl Eq for SendStatus
impl StructuralPartialEq for SendStatus
Auto Trait Implementations§
impl Freeze for SendStatus
impl RefUnwindSafe for SendStatus
impl Send for SendStatus
impl Sync for SendStatus
impl Unpin for SendStatus
impl UnwindSafe for SendStatus
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