Struct ads_client::AdsError
source · pub struct AdsError {
pub n_error: u32,
pub s_msg: String,
}Expand description
Error type of returned Result
An overview of possible error codes can be found in the InfoSys.
Fields§
§n_error: u32§s_msg: StringTrait Implementations§
source§impl Error for AdsError
impl Error for AdsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Infallible> for AdsError
impl From<Infallible> for AdsError
source§fn from(_error: Infallible) -> Self
fn from(_error: Infallible) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for AdsError
impl From<ParseIntError> for AdsError
source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for AdsError
impl From<TryFromIntError> for AdsError
source§fn from(error: TryFromIntError) -> Self
fn from(error: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for AdsError
impl From<TryFromSliceError> for AdsError
source§fn from(error: TryFromSliceError) -> Self
fn from(error: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AdsError
impl Send for AdsError
impl Sync for AdsError
impl Unpin for AdsError
impl UnwindSafe for AdsError
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