var searchIndex = {}; searchIndex["jsonrpc_core"] = {"doc":"### Transport agnostic jsonrpc library.","items":[[4,"Value","jsonrpc_core","Represents a JSON value",null,null],[13,"Null","","Represents a JSON null value",0,null],[13,"Bool","","Represents a JSON Boolean",0,null],[13,"I64","","Represents a JSON signed integer",0,null],[13,"U64","","Represents a JSON unsigned integer",0,null],[13,"F64","","Represents a JSON floating point number",0,null],[13,"String","","Represents a JSON string",0,null],[13,"Array","","Represents a JSON array",0,null],[13,"Object","","Represents a JSON object",0,null],[0,"version","","jsonrpc version field",null,null],[4,"Version","jsonrpc_core::version","",null,null],[13,"V2","","",1,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"serialize","","",1,null],[11,"deserialize","","",1,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"id","jsonrpc_core","jsonrpc id field",null,null],[4,"Id","jsonrpc_core::id","",null,null],[13,"Null","","",2,null],[13,"Str","","",2,null],[13,"Num","","",2,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"serialize","","",2,null],[11,"deserialize","","",2,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"params","jsonrpc_core","jsonrpc params field",null,null],[4,"Params","jsonrpc_core::params","",null,null],[13,"Array","","",3,null],[13,"Map","","",3,null],[13,"None","","",3,null],[11,"fmt","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"serialize","","",3,null],[11,"deserialize","","",3,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"request","jsonrpc_core","jsonrpc request",null,null],[3,"MethodCall","jsonrpc_core::request","Represents jsonrpc request which is a method call.",null,null],[12,"jsonrpc","","A String specifying the version of the JSON-RPC protocol.\nMUST be exactly "2.0".",4,null],[12,"method","","A String containing the name of the method to be invoked.",4,null],[12,"params","","A Structured value that holds the parameter values to be used\nduring the invocation of the method. This member MAY be omitted.",4,null],[12,"id","","An identifier established by the Client that MUST contain a String,\nNumber, or NULL value if included. If it is not included it is assumed\nto be a notification.",4,null],[3,"Notification","","Represents jsonrpc request which is a notification.",null,null],[12,"jsonrpc","","A String specifying the version of the JSON-RPC protocol.\nMUST be exactly "2.0".",5,null],[12,"method","","A String containing the name of the method to be invoked.",5,null],[12,"params","","A Structured value that holds the parameter values to be used\nduring the invocation of the method. This member MAY be omitted.",5,null],[4,"Call","","Represents single jsonrpc call.",null,null],[13,"MethodCall","","",6,null],[13,"Notification","","",6,null],[13,"Invalid","","",6,null],[4,"Request","","Represents jsonrpc request.",null,null],[13,"Single","","",7,null],[13,"Batch","","",7,null],[11,"fmt","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"serialize","","",6,null],[11,"deserialize","","",6,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"fmt","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"serialize","","",7,null],[11,"deserialize","","",7,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"response","jsonrpc_core","jsonrpc response",null,null],[3,"Success","jsonrpc_core::response","",null,null],[12,"jsonrpc","","",8,null],[12,"result","","",8,null],[12,"id","","",8,null],[3,"Failure","","",null,null],[12,"jsonrpc","","",9,null],[12,"error","","",9,null],[12,"id","","",9,null],[4,"Output","","",null,null],[13,"Success","","",10,null],[13,"Failure","","",10,null],[4,"Response","","",null,null],[13,"Single","","",11,null],[13,"Batch","","",11,null],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"fmt","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",10,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"deserialize","","",10,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"serialize","","",10,null],[11,"fmt","","",11,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"deserialize","","",11,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"serialize","","",11,null],[0,"error","jsonrpc_core","jsonrpc errors",null,null],[3,"Error","jsonrpc_core::error","",null,null],[12,"code","","",12,null],[12,"message","","",12,null],[12,"data","","",12,null],[4,"ErrorCode","","",null,null],[13,"ParseError","","Invalid JSON was received by the server.\nAn error occurred on the server while parsing the JSON text.",13,null],[13,"InvalidRequest","","The JSON sent is not a valid Request object.",13,null],[13,"MethodNotFound","","The method does not exist / is not available.",13,null],[13,"InvalidParams","","Invalid method parameter(s).",13,null],[13,"InternalError","","Internal JSON-RPC error.",13,null],[13,"ServerError","","Reserved for implementation-defined server-errors.",13,null],[11,"fmt","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"clone","","",13,null],[11,"code","","",13,null],[11,"description","","",13,null],[11,"deserialize","","",13,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"serialize","","",13,null],[11,"fmt","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"new","","",12,{"inputs":[{"name":"errorcode"}],"output":{"name":"self"}}],[11,"parse_error","","",12,{"inputs":[],"output":{"name":"self"}}],[11,"invalid_request","","",12,{"inputs":[],"output":{"name":"self"}}],[11,"method_not_found","","",12,{"inputs":[],"output":{"name":"self"}}],[11,"invalid_params","","",12,{"inputs":[],"output":{"name":"self"}}],[11,"internal_error","","",12,{"inputs":[],"output":{"name":"self"}}],[0,"commander","jsonrpc_core","method and notification commands executor",null,null],[3,"Commander","jsonrpc_core::commander","Commands executor.",null,null],[8,"MethodCommand","","Should be used to handle single method call.",null,null],[10,"execute","","",14,null],[8,"NotificationCommand","","Should be used to handle single notification.",null,null],[10,"execute","","",15,null],[11,"new","","",16,{"inputs":[],"output":{"name":"self"}}],[11,"add_method","","",16,null],[11,"add_methods","","",16,null],[11,"add_notification","","",16,null],[11,"add_notifications","","",16,null],[11,"execute_method","","",16,null],[11,"execute_notification","","",16,null],[0,"request_handler","jsonrpc_core","jsonrpc server request handler",null,null],[3,"RequestHandler","jsonrpc_core::request_handler","",null,null],[11,"new","","",17,{"inputs":[],"output":{"name":"self"}}],[11,"add_method","","",17,null],[11,"add_methods","","",17,null],[11,"add_notification","","",17,null],[11,"add_notifications","","",17,null],[11,"handle_request","","",17,null],[0,"io","jsonrpc_core","jsonrpc io",null,null],[3,"IoDelegate","jsonrpc_core::io","",null,null],[3,"IoHandler","","Should be used to handle jsonrpc io.",null,null],[11,"new","","",18,{"inputs":[{"name":"arc"}],"output":{"name":"self"}}],[11,"add_method","","",18,null],[11,"add_notification","","",18,null],[11,"new","","",19,{"inputs":[],"output":{"name":"self"}}],[11,"add_method","","",19,null],[11,"add_notification","","",19,null],[11,"add_delegate","","",19,null],[11,"handle_request","","",19,null],[0,"util","jsonrpc_core","",null,null],[5,"from_params","jsonrpc_core::util","",null,{"inputs":[{"name":"params"}],"output":{"name":"result"}}],[5,"to_value","","",null,{"inputs":[{"name":"s"}],"output":{"name":"result"}}],[11,"find","jsonrpc_core","If the `Value` is an Object, returns the value associated with the provided key.\nOtherwise, returns None.",0,null],[11,"find_path","","Attempts to get a nested Value Object for each key in `keys`.\nIf any key is found not to exist, find_path will return None.\nOtherwise, it will return the `Value` associated with the final key.",0,null],[11,"lookup","","**Deprecated**: Use `Value.pointer()` and pointer syntax instead.",0,null],[11,"pointer","","Looks up a value by a JSON Pointer.",0,null],[11,"search","","If the `Value` is an Object, performs a depth-first search until\na value associated with the provided key is found. If no value is found\nor the `Value` is not an Object, returns None.",0,null],[11,"is_object","","Returns true if the `Value` is an Object. Returns false otherwise.",0,null],[11,"as_object","","If the `Value` is an Object, returns the associated BTreeMap.\nReturns None otherwise.",0,null],[11,"as_object_mut","","If the `Value` is an Object, returns the associated mutable BTreeMap.\nReturns None otherwise.",0,null],[11,"is_array","","Returns true if the `Value` is an Array. Returns false otherwise.",0,null],[11,"as_array","","If the `Value` is an Array, returns the associated vector.\nReturns None otherwise.",0,null],[11,"as_array_mut","","If the `Value` is an Array, returns the associated mutable vector.\nReturns None otherwise.",0,null],[11,"is_string","","Returns true if the `Value` is a String. Returns false otherwise.",0,null],[11,"as_string","","If the `Value` is a String, returns the associated str.\nReturns None otherwise.",0,null],[11,"is_number","","Returns true if the `Value` is a Number. Returns false otherwise.",0,null],[11,"is_i64","","Returns true if the `Value` is a i64. Returns false otherwise.",0,null],[11,"is_u64","","Returns true if the `Value` is a u64. Returns false otherwise.",0,null],[11,"is_f64","","Returns true if the `Value` is a f64. Returns false otherwise.",0,null],[11,"as_i64","","If the `Value` is a number, return or cast it to a i64.\nReturns None otherwise.",0,null],[11,"as_u64","","If the `Value` is a number, return or cast it to a u64.\nReturns None otherwise.",0,null],[11,"as_f64","","If the `Value` is a number, return or cast it to a f64.\nReturns None otherwise.",0,null],[11,"is_boolean","","Returns true if the `Value` is a Boolean. Returns false otherwise.",0,null],[11,"as_boolean","","If the `Value` is a Boolean, returns the associated bool.\nReturns None otherwise.",0,null],[11,"is_null","","Returns true if the `Value` is a Null. Returns false otherwise.",0,null],[11,"as_null","","If the `Value` is a Null, returns ().\nReturns None otherwise.",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"serialize","","",0,null],[11,"deserialize","","",0,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"fmt","","Serializes a json value into a string",0,null],[11,"fmt","","Serializes a json value into a string",0,null],[11,"from_str","","",0,{"inputs":[{"name":"str"}],"output":{"name":"result"}}]],"paths":[[4,"Value"],[4,"Version"],[4,"Id"],[4,"Params"],[3,"MethodCall"],[3,"Notification"],[4,"Call"],[4,"Request"],[3,"Success"],[3,"Failure"],[4,"Output"],[4,"Response"],[3,"Error"],[4,"ErrorCode"],[8,"MethodCommand"],[8,"NotificationCommand"],[3,"Commander"],[3,"RequestHandler"],[3,"IoDelegate"],[3,"IoHandler"]]}; initSearch(searchIndex);