Enum jsonrpsee_types::params::InvalidRequestId
source · pub enum InvalidRequestId {
NotPendingRequest(String),
Occupied(String),
Invalid(String),
}
Expand description
Represent a request that failed because of an invalid request id.
Variants§
NotPendingRequest(String)
The request ID was parsed as valid ID but not a pending request.
Occupied(String)
The request ID was already assigned to a pending call.
Invalid(String)
The request ID format was invalid.
Trait Implementations§
source§impl Debug for InvalidRequestId
impl Debug for InvalidRequestId
source§impl Display for InvalidRequestId
impl Display for InvalidRequestId
source§impl Error for InvalidRequestId
impl Error for InvalidRequestId
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()
Auto Trait Implementations§
impl Freeze for InvalidRequestId
impl RefUnwindSafe for InvalidRequestId
impl Send for InvalidRequestId
impl Sync for InvalidRequestId
impl Unpin for InvalidRequestId
impl UnwindSafe for InvalidRequestId
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