pub enum STOPBITSR {
HALF,
ONE,
ONEANDAHALF,
TWO,
}
Possible values of the field STOPBITS
The transmitter generates a half stop bit. Stop-bits are not verified by receiver
One stop bit is generated and verified
ONEANDAHALF
The transmitter generates one and a half stop bit. The receiver verifies the first stop bit
The transmitter generates two stop bits. The receiver checks the first stop-bit only
Value of the field as raw bits
Checks if the value of the field is HALF
Checks if the value of the field is ONE
Checks if the value of the field is ONEANDAHALF
Checks if the value of the field is TWO
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
| 1.0.0 [src] |
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static