pub enum AriError {
Serde(Error),
Utf8(FromUtf8Error),
Api(ApiError),
HttpInvalidHeader(InvalidHeaderValue),
Http(Error),
UrlParse(ParseError),
Websocket(Error),
}Expand description
Represents various errors that can occur in the ARI client.
Variants§
Serde(Error)
Error during JSON serialization/deserialization.
Utf8(FromUtf8Error)
Error converting a byte array to a UTF-8 string.
Api(ApiError)
API-specific error.
HttpInvalidHeader(InvalidHeaderValue)
Invalid HTTP header value.
Http(Error)
General HTTP error.
UrlParse(ParseError)
URL parsing error.
Websocket(Error)
WebSocket error.
Implementations§
Trait Implementations§
Source§impl From<FromUtf8Error> for AriError
impl From<FromUtf8Error> for AriError
Source§impl From<InvalidHeaderValue> for AriError
impl From<InvalidHeaderValue> for AriError
Auto Trait Implementations§
impl !Freeze for AriError
impl !RefUnwindSafe for AriError
impl Send for AriError
impl Sync for AriError
impl Unpin for AriError
impl !UnwindSafe for AriError
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