pub enum Event {
HalfTransfer,
TransferComplete,
TransferError,
Any,
}Expand description
First half of a transfer is done
A transfer error occurred
Any of the above events occurred
The resulting type after applying the & operator.
The resulting type after applying the | operator.
The resulting type after applying the ^ operator.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
impl EnumSetTypePrivate for Event
The underlying type used to store the bitset.
A mask of bits that are valid in the bitset.
Converts an enum of this type into its bit position.
Converts a bit position into an enum value.
The resulting type after applying the ! operator.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
The resulting type after applying the - operator.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.