pub enum ChangeError {
Request,
Response(ResponseError),
}
Variants§
Request
Sending the request to change the parameters failed.
Response(ResponseError)
The server responded with an error while changing the file parameters.
Trait Implementations§
Source§impl Debug for ChangeError
impl Debug for ChangeError
Source§impl Display for ChangeError
impl Display for ChangeError
Source§impl Error for ChangeError
impl Error for ChangeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ChangeError> for Error
impl From<ChangeError> for Error
Source§fn from(source: ChangeError) -> Self
fn from(source: ChangeError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for ChangeError
impl From<ResponseError> for ChangeError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChangeError
impl RefUnwindSafe for ChangeError
impl Send for ChangeError
impl Sync for ChangeError
impl Unpin for ChangeError
impl UnwindSafe for ChangeError
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