Struct windows_sys::Devices::SerialCommunication::SerialError
[−]#[repr(transparent)]pub struct SerialError(pub i32);
Expand description
Required features: "Devices_SerialCommunication"
Tuple Fields
0: i32
Implementations
impl SerialError
impl SerialError
pub const Frame: Self = Self(0i32)
pub const BufferOverrun: Self = Self(1i32)
pub const ReceiveFull: Self = Self(2i32)
pub const ReceiveParity: Self = Self(3i32)
pub const TransmitFull: Self = Self(4i32)
Trait Implementations
impl Clone for SerialError
impl Clone for SerialError
impl Copy for SerialError
Auto Trait Implementations
impl RefUnwindSafe for SerialError
impl Send for SerialError
impl Sync for SerialError
impl Unpin for SerialError
impl UnwindSafe for SerialError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more