Expand description
This error is returned if the response expected status of a function could not be changed.
Variants
InvalidFunctionId(u8)
The function id was unknown. Maybe the wrong UID was used?
IsAlwaysTrue(u8)
This function must always respond, as the response contains result data.
Trait Implementations
sourceimpl Clone for SetResponseExpectedError
impl Clone for SetResponseExpectedError
sourcefn clone(&self) -> SetResponseExpectedError
fn clone(&self) -> SetResponseExpectedError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SetResponseExpectedError
impl Debug for SetResponseExpectedError
sourceimpl Display for SetResponseExpectedError
impl Display for SetResponseExpectedError
sourceimpl Error for SetResponseExpectedError
impl Error for SetResponseExpectedError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for SetResponseExpectedError
Auto Trait Implementations
impl RefUnwindSafe for SetResponseExpectedError
impl Send for SetResponseExpectedError
impl Sync for SetResponseExpectedError
impl Unpin for SetResponseExpectedError
impl UnwindSafe for SetResponseExpectedError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more