Enum bluetooth_hci::types::AdvertisingIntervalError [−][src]
pub enum AdvertisingIntervalError {
TooShort(Duration),
TooLong(Duration),
Inverted(Duration, Duration),
NoRange,
}Potential errors that can occur when specifying an AdvertisingInterval.
Variants
TooShort(Duration)The minimum value was too short. Includes the invalid value.
TooLong(Duration)The maximum value was too long. Includes the invalid value.
Inverted(Duration, Duration)The minimum value was greater than the maximum value. Includes the provided minimum and value, respectively.
NoRangeThe advertising interval was not given a range, and the type was not ConnectableDirectedHighDutyCycle.
Trait Implementations
impl Copy for AdvertisingIntervalError[src]
impl Copy for AdvertisingIntervalErrorimpl Clone for AdvertisingIntervalError[src]
impl Clone for AdvertisingIntervalErrorfn clone(&self) -> AdvertisingIntervalError[src]
fn clone(&self) -> AdvertisingIntervalErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AdvertisingIntervalError[src]
impl Debug for AdvertisingIntervalErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AdvertisingIntervalError[src]
impl PartialEq for AdvertisingIntervalErrorfn eq(&self, other: &AdvertisingIntervalError) -> bool[src]
fn eq(&self, other: &AdvertisingIntervalError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AdvertisingIntervalError) -> bool[src]
fn ne(&self, other: &AdvertisingIntervalError) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for AdvertisingIntervalError
impl Send for AdvertisingIntervalErrorimpl Sync for AdvertisingIntervalError
impl Sync for AdvertisingIntervalError