pub struct JsonRpcError { /* private fields */ }Implementations§
Source§impl JsonRpcError
impl JsonRpcError
pub fn parameter_required(method: &str) -> Self
pub fn unknown_method(method: &str) -> Self
pub fn json_deserialize_error() -> Self
pub fn server_api_execution_error(_err: SqlFunServerApiError) -> Self
Trait Implementations§
Source§impl Clone for JsonRpcError
impl Clone for JsonRpcError
Source§fn clone(&self) -> JsonRpcError
fn clone(&self) -> JsonRpcError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<Error> for JsonRpcError
impl From<Error> for JsonRpcError
Source§impl From<SqlFunServerApiError> for JsonRpcError
impl From<SqlFunServerApiError> for JsonRpcError
Source§fn from(value: SqlFunServerApiError) -> Self
fn from(value: SqlFunServerApiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonRpcError
impl RefUnwindSafe for JsonRpcError
impl Send for JsonRpcError
impl Sync for JsonRpcError
impl Unpin for JsonRpcError
impl UnwindSafe for JsonRpcError
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