pub enum ParseBDAddrError {
IncorrectByteCount,
InvalidDigit(ParseIntError),
}
Expand description
An error parsing a BDAddr
from a string.
Variants§
IncorrectByteCount
InvalidDigit(ParseIntError)
Trait Implementations§
Source§impl Clone for ParseBDAddrError
impl Clone for ParseBDAddrError
Source§fn clone(&self) -> ParseBDAddrError
fn clone(&self) -> ParseBDAddrError
Returns a duplicate 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 ParseBDAddrError
impl Debug for ParseBDAddrError
Source§impl Display for ParseBDAddrError
impl Display for ParseBDAddrError
Source§impl Error for ParseBDAddrError
impl Error for ParseBDAddrError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ParseBDAddrError> for Error
impl From<ParseBDAddrError> for Error
Source§fn from(source: ParseBDAddrError) -> Self
fn from(source: ParseBDAddrError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseBDAddrError
impl From<ParseIntError> for ParseBDAddrError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseBDAddrError
impl PartialEq for ParseBDAddrError
impl StructuralPartialEq for ParseBDAddrError
Auto Trait Implementations§
impl Freeze for ParseBDAddrError
impl RefUnwindSafe for ParseBDAddrError
impl Send for ParseBDAddrError
impl Sync for ParseBDAddrError
impl Unpin for ParseBDAddrError
impl UnwindSafe for ParseBDAddrError
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