pub enum Status {
Ok,
Pending,
Err(i32),
}Expand description
plc tag error code representations
Variants§
Implementations§
Source§impl Status
impl Status
Sourcepub fn is_pending(&self) -> bool
pub fn is_pending(&self) -> bool
has pending operations?
Sourcepub fn is_timeout(&self) -> bool
pub fn is_timeout(&self) -> bool
is timeout error?
Trait Implementations§
impl Copy for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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