pub enum TransmitState {
Completed,
Half,
Aborted,
Failure,
}Expand description
The state of a transmission action, including sending and receiving.
Variants§
Completed
The transmission completed, all data has been transmisted.
Half
Transmited data size has been over half of the buffer.
Aborted
The transmission has been aborted.
Failure
The transmission failed, may be some error occurred.
Trait Implementations§
Source§impl PartialEq for TransmitState
impl PartialEq for TransmitState
impl Eq for TransmitState
impl StructuralPartialEq for TransmitState
Auto Trait Implementations§
impl Freeze for TransmitState
impl RefUnwindSafe for TransmitState
impl Send for TransmitState
impl Sync for TransmitState
impl Unpin for TransmitState
impl UnwindSafe for TransmitState
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