pub struct NetHsmApiError<T> {
error: Option<Error<T>>,
message: Option<String>,
}
Expand description
A helper Error for more readable output for [nethsm_sdk_rs::apis::Error
]
This type allows us to create more readable output for [nethsm_sdk_rs::apis::Error::Ureq
] and
reuse the upstream handling otherwise.
Fields§
§error: Option<Error<T>>
§message: Option<String>
Trait Implementations§
source§impl<T> Display for NetHsmApiError<T>
impl<T> Display for NetHsmApiError<T>
Auto Trait Implementations§
impl<T> Freeze for NetHsmApiError<T>where
T: Freeze,
impl<T> !RefUnwindSafe for NetHsmApiError<T>
impl<T> Send for NetHsmApiError<T>where
T: Send,
impl<T> Sync for NetHsmApiError<T>where
T: Sync,
impl<T> Unpin for NetHsmApiError<T>where
T: Unpin,
impl<T> !UnwindSafe for NetHsmApiError<T>
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