Enum bluetooth_serial_port::BtError
[−]
[src]
pub enum BtError { Unknown, Errno(u32, String), Desc(String), }
Represents an error which occurred in this library.
Variants
Unknown
No specific information is known.
Errno(u32, String)
On Unix platforms: the error code and an explanation for this error code.
Desc(String)
This error only has a description.
Trait Implementations
impl Debug for BtError
[src]
impl Clone for BtError
[src]
fn clone(&self) -> BtError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for BtError
[src]
fn eq(&self, __arg_0: &BtError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BtError) -> bool
This method tests for !=
.