1
0
Fork 0
forked from mCaptcha/website
mcaptcha-website/static/api-docs/pow_sha256/0.2.1/search-index.js

4 lines
No EOL
4.8 KiB
JavaScript

var searchIndex = JSON.parse('{\
"pow_sha256":{"doc":"MCaptch\'s SHA256 based Proof of Work library","i":[[3,"PoW","pow_sha256","Proof of Work over concrete type T. T can be any type …",null,null],[12,"nonce","","",0,null],[12,"result","","",0,null],[3,"PoWBuilder","","Builder for <code>PoW</code>.",null,null],[11,"nonce","","",1,[[["u64",15]]]],[11,"result","","",1,[[["string",3]]]],[11,"build","","Builds a new <code>PoW</code>.",1,[[],[["pow",3],["powbuildererror",4],["result",4]]]],[4,"PoWBuilderError","","Error type for PoWBuilder",null,null],[13,"UninitializedField","","Uninitialized field",2,null],[13,"ValidationError","","Custom validation error",2,null],[3,"Config","","Configuration for generting proof of work Please choose a …",null,null],[12,"salt","","",3,null],[3,"ConfigBuilder","","Builder for <code>Config</code>.",null,null],[11,"salt","","",4,[[["string",3]]]],[11,"build","","Builds a new <code>Config</code>.",4,[[],[["config",3],["configbuildererror",4],["result",4]]]],[4,"ConfigBuilderError","","Error type for ConfigBuilder",null,null],[13,"UninitializedField","","Uninitialized field",5,null],[13,"ValidationError","","Custom validation error",5,null],[11,"prove_work","","Create Proof of Work over item of type T.",3,[[["u32",15]],[["pow",3],["result",6]]]],[11,"prove_work_serialized","","Create Proof of Work on an already serialized item of …",3,[[["u32",15]],["pow",3]]],[11,"calculate","","Calculate the PoW score with the provided input T.",3,[[["pow",3]],[["u128",15],["result",6]]]],[11,"calculate_serialized","","Calculate the PoW score of an already serialized T and …",3,[[["pow",3]],["u128",15]]],[11,"is_valid_proof","","Verifies that the PoW is indeed generated out of the …",3,[[["pow",3]],["bool",15]]],[11,"is_sufficient_difficulty","","Checks if the PoW result is of sufficient difficulty",3,[[["u32",15],["pow",3]],["bool",15]]],[11,"from","","",0,[[]]],[11,"into","","",0,[[]]],[11,"to_owned","","",0,[[]]],[11,"clone_into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"from","","",1,[[]]],[11,"into","","",1,[[]]],[11,"to_owned","","",1,[[]]],[11,"clone_into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"to_string","","",2,[[],["string",3]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"from","","",3,[[]]],[11,"into","","",3,[[]]],[11,"to_owned","","",3,[[]]],[11,"clone_into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"to_owned","","",4,[[]]],[11,"clone_into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_string","","",5,[[],["string",3]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"from","","",2,[[["uninitializedfielderror",3]]]],[11,"from","","",2,[[["string",3]]]],[11,"from","","",5,[[["uninitializedfielderror",3]]]],[11,"from","","",5,[[["string",3]]]],[11,"clone","","",1,[[],["powbuilder",3]]],[11,"clone","","",0,[[],["pow",3]]],[11,"clone","","",4,[[],["configbuilder",3]]],[11,"clone","","",3,[[],["config",3]]],[11,"default","","",1,[[]]],[11,"default","","",4,[[]]],[11,"eq","","",0,[[["pow",3]],["bool",15]]],[11,"ne","","",0,[[["pow",3]],["bool",15]]],[11,"eq","","",3,[[["config",3]],["bool",15]]],[11,"ne","","",3,[[["config",3]],["bool",15]]],[11,"fmt","","",2,[[["formatter",3]],["result",6]]],[11,"fmt","","",0,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"fmt","","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",2,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"serialize","","",0,[[],["result",4]]],[11,"serialize","","",3,[[],["result",4]]],[11,"deserialize","","",0,[[],["result",4]]],[11,"deserialize","","",3,[[],["result",4]]]],"p":[[3,"PoW"],[3,"PoWBuilder"],[4,"PoWBuilderError"],[3,"Config"],[3,"ConfigBuilder"],[4,"ConfigBuilderError"]]}\
}');
addSearchOptions(searchIndex);initSearch(searchIndex);