pub struct SerialDeviceInUseOrDisconnectedError(/* private fields */);Expand description
The specified device is either disconnected or already in use by another process.
Trait Implementations§
impl Eq for SerialDeviceInUseOrDisconnectedError
Source§impl Error for SerialDeviceInUseOrDisconnectedError
impl Error for SerialDeviceInUseOrDisconnectedError
1.30.0 · 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<SerialDeviceInUseOrDisconnectedError> for AsciiError
Available on crate feature ascii only.
impl From<SerialDeviceInUseOrDisconnectedError> for AsciiError
Available on crate feature
ascii only.Source§fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
Converts to this type from the input type.
Source§impl From<SerialDeviceInUseOrDisconnectedError> for BinaryError
Available on crate feature binary only.
impl From<SerialDeviceInUseOrDisconnectedError> for BinaryError
Available on crate feature
binary only.Source§fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
Converts to this type from the input type.
Source§impl From<SerialDeviceInUseOrDisconnectedError> for Error
Available on crate features ascii and binary only.
impl From<SerialDeviceInUseOrDisconnectedError> for Error
Available on crate features
ascii and binary only.Source§fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
fn from(other: SerialDeviceInUseOrDisconnectedError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SerialDeviceInUseOrDisconnectedError
Source§impl TryFrom<AsciiError> for SerialDeviceInUseOrDisconnectedError
Available on crate feature ascii only.
impl TryFrom<AsciiError> for SerialDeviceInUseOrDisconnectedError
Available on crate feature
ascii only.Source§type Error = AsciiError
type Error = AsciiError
The type returned in the event of a conversion error.
Source§impl TryFrom<BinaryError> for SerialDeviceInUseOrDisconnectedError
Available on crate feature binary only.
impl TryFrom<BinaryError> for SerialDeviceInUseOrDisconnectedError
Available on crate feature
binary only.Source§type Error = BinaryError
type Error = BinaryError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SerialDeviceInUseOrDisconnectedError
impl RefUnwindSafe for SerialDeviceInUseOrDisconnectedError
impl Send for SerialDeviceInUseOrDisconnectedError
impl Sync for SerialDeviceInUseOrDisconnectedError
impl Unpin for SerialDeviceInUseOrDisconnectedError
impl UnsafeUnpin for SerialDeviceInUseOrDisconnectedError
impl UnwindSafe for SerialDeviceInUseOrDisconnectedError
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