From: github-actions Date: Wed, 26 May 2021 07:17:54 +0000 (+0000) Subject: Publish autogenerated nightly docs X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.EncoderStringWriter.html?a=commitdiff_plain;h=79c8463149a780893908ac2a500bbde5853a28ba;p=bitcoindevkit.org Publish autogenerated nightly docs --- diff --git a/static/docs-rs/bdk/nightly/latest/ayu.css b/static/docs-rs/bdk/nightly/latest/ayu.css index 5f453b811c..f5e3def8f2 100644 --- a/static/docs-rs/bdk/nightly/latest/ayu.css +++ b/static/docs-rs/bdk/nightly/latest/ayu.css @@ -1 +1 @@ - body{background-color:#0f1419;color:#c5c5c5;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod){border-bottom-color:#5c6773;}h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border:none;}.in-band{background-color:#0f1419;}.invisible{background:rgba(0,0,0,0);}code{color:#ffb454;}h3>code,h4>code,h5>code{color:#e6e1cf;}pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}.docblock code,.docblock-short code{background-color:#191f26;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;background-color:#191f26;}.sidebar{background-color:#14191f;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}*{scrollbar-color:#5c6773 transparent;}.sidebar{scrollbar-color:#5c6773 transparent;}::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar::-webkit-scrollbar-track{background-color:transparent;}.sidebar::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar .current{background-color:transparent;color:#ffb44c;}.source .sidebar{background-color:#0f1419;}.sidebar .location{border-color:#000;background-color:#0f1419;color:#fff;}.sidebar-elems .location{color:#ff7733;}.sidebar-elems .location a{color:#fff;}.sidebar .version{border-bottom-color:#424c57;}.sidebar-title{border-top-color:#5c6773;border-bottom-color:#5c6773;}.block a:hover{background:transparent;color:#ffb44c;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#5c6773;}.docblock table,.docblock table td,.docblock table th{border-color:#5c6773;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#c5c5c5;}.content .highlighted{color:#000 !important;background-color:#c6afb3;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted{background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a span.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ef57ff;}.content span.union,.content a.union{color:#98a01c;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#6380a0;}.content span.primitive,.content a.primitive{color:#32889b;}.content span.traitalias,.content a.traitalias{color:#57d399;}.content span.keyword,.content a.keyword{color:#de5249;}.content span.externcrate,.content span.mod,.content a.mod{color:#acccf9;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#99e0c9;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#cfbcf5;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav:not(.sidebar){border-bottom-color:#424c57;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#c5c5c5;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#39AFD7;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#c5c5c5;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;border-color:#424c57;}.search-input{color:#ffffff;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;transition:box-shadow 150ms ease-in-out;}#crate-search+.search-input:focus{box-shadow:0 0 0 1px #148099,0 0 0 2px transparent;}.search-input:disabled{background-color:#3e3e3e;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable,.stab.deprecated,.stab.portability{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}#help>div{background:#14191f;box-shadow:0px 6px 20px 0px black;border:none;border-radius:4px;}#help>div>span{border-bottom-color:#5c6773;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.content .highlighted.mod,.content .highlighted.externcrate{}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content .highlighted.trait{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content .highlighted.traitalias{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}.content .highlighted.foreigntype{}pre.rust .lifetime{}.content .highlighted.primitive{}.content .highlighted.constant,.content .highlighted.static{}.stab.unstable{}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content .highlighted.enum{}.content .highlighted.struct{}.content .highlighted.keyword{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{}.stab.portability{}.content .highlighted.union{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}.content .highlighted.type{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}@media (max-width:700px){.sidebar-menu{background-color:#14191f;border-bottom-color:#5c6773;border-right-color:#5c6773;}.sidebar-elems{background-color:#14191f;border-right-color:#5c6773;}#sidebar-filler{background-color:#14191f;border-bottom-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button,#copy-path{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img,#copy-path>img{filter:invert(100);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}@media (max-width:700px){#theme-picker{background:#0f1419;}}#all-types{background-color:#14191f;}#all-types:hover{background-color:rgba(70,70,70,0.33);}.search-results td span.alias{color:#c5c5c5;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#14191f;}#sidebar-toggle:hover{background-color:rgba(70,70,70,0.33);}#source-sidebar{background-color:#14191f;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}div.files>a:hover,div.name:hover{background-color:#14191f;color:#ffb44c;}div.files>.selected{background-color:#14191f;color:#ffb44c;}.setting-line>.title{border-bottom-color:#5c6773;}input:checked+.slider{background-color:#ffb454 !important;} \ No newline at end of file + body{background-color:#0f1419;color:#c5c5c5;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod){border-bottom-color:#5c6773;}h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border:none;}.in-band{background-color:#0f1419;}.invisible{background:rgba(0,0,0,0);}code{color:#ffb454;}h3>code,h4>code,h5>code{color:#e6e1cf;}pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}.docblock code,.docblock-short code{background-color:#191f26;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;background-color:#191f26;}.sidebar{background-color:#14191f;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}*{scrollbar-color:#5c6773 transparent;}.sidebar{scrollbar-color:#5c6773 transparent;}::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar::-webkit-scrollbar-track{background-color:transparent;}.sidebar::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar .current{background-color:transparent;color:#ffb44c;}.source .sidebar{background-color:#0f1419;}.sidebar .location{border-color:#000;background-color:#0f1419;color:#fff;}.sidebar-elems .location{color:#ff7733;}.sidebar-elems .location a{color:#fff;}.sidebar .version{border-bottom-color:#424c57;}.sidebar-title{border-top-color:#5c6773;border-bottom-color:#5c6773;}.block a:hover{background:transparent;color:#ffb44c;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#5c6773;}.docblock table,.docblock table td,.docblock table th{border-color:#5c6773;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#c5c5c5;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a span.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ef57ff;}.content span.union,.content a.union{color:#98a01c;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#6380a0;}.content span.primitive,.content a.primitive{color:#32889b;}.content span.traitalias,.content a.traitalias{color:#57d399;}.content span.keyword,.content a.keyword{color:#de5249;}.content span.externcrate,.content span.mod,.content a.mod{color:#acccf9;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#99e0c9;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#cfbcf5;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav:not(.sidebar){border-bottom-color:#424c57;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#c5c5c5;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#39AFD7;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#c5c5c5;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;border-color:#424c57;}.search-input{color:#ffffff;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;transition:box-shadow 150ms ease-in-out;}#crate-search+.search-input:focus{box-shadow:0 0 0 1px #148099,0 0 0 2px transparent;}.search-input:disabled{background-color:#3e3e3e;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable,.stab.deprecated,.stab.portability{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}#help>div{background:#14191f;box-shadow:0px 6px 20px 0px black;border:none;border-radius:4px;}#help>div>span{border-bottom-color:#5c6773;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}@media (max-width:700px){.sidebar-menu{background-color:#14191f;border-bottom-color:#5c6773;border-right-color:#5c6773;}.sidebar-elems{background-color:#14191f;border-right-color:#5c6773;}#sidebar-filler{background-color:#14191f;border-bottom-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img{filter:invert(100);}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}@media (max-width:700px){#theme-picker{background:#0f1419;}}#all-types{background-color:#14191f;}#all-types:hover{background-color:rgba(70,70,70,0.33);}.search-results td span.alias{color:#c5c5c5;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#14191f;}#sidebar-toggle:hover{background-color:rgba(70,70,70,0.33);}#source-sidebar{background-color:#14191f;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}div.files>a:hover,div.name:hover{background-color:#14191f;color:#ffb44c;}div.files>.selected{background-color:#14191f;color:#ffb44c;}.setting-line>.title{border-bottom-color:#5c6773;}input:checked+.slider{background-color:#ffb454 !important;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html index defa80f3d8..5a16ddb452 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html @@ -10,40 +10,40 @@

See this module’s documentation for a usage example.

Variants

-
Electrum(ElectrumBlockchain)
This is supported on crate feature electrum only.
Expand description

Electrum client

-
Esplora(EsploraBlockchain)
This is supported on crate feature esplora only.
Expand description

Esplora client

-
CompactFilters(CompactFiltersBlockchain)
This is supported on crate feature compact_filters only.
Expand description

Compact filters client

-

Trait Implementations

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

-

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

Type that contains the configuration

-

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

fn from(inner: CompactFiltersBlockchain) -> Self[src]

Performs the conversion.

-

impl From<ElectrumBlockchain> for AnyBlockchain[src]

fn from(inner: ElectrumBlockchain) -> Self[src]

Performs the conversion.

-

impl From<EsploraBlockchain> for AnyBlockchain[src]

fn from(inner: EsploraBlockchain) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for AnyBlockchain

impl Send for AnyBlockchain

impl Sync for AnyBlockchain

impl Unpin for AnyBlockchain

impl !UnwindSafe for AnyBlockchain

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This is supported on crate feature electrum only.

Electrum client

+
This is supported on crate feature esplora only.

Esplora client

+
CompactFilters(CompactFiltersBlockchain)
This is supported on crate feature compact_filters only.

Compact filters client

+

Trait Implementations

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

+

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

Type that contains the configuration

+

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

fn from(inner: CompactFiltersBlockchain) -> Self[src]

Performs the conversion.

+

impl From<ElectrumBlockchain> for AnyBlockchain[src]

fn from(inner: ElectrumBlockchain) -> Self[src]

Performs the conversion.

+

impl From<EsploraBlockchain> for AnyBlockchain[src]

fn from(inner: EsploraBlockchain) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl !RefUnwindSafe for AnyBlockchain

impl Send for AnyBlockchain

impl Sync for AnyBlockchain

impl Unpin for AnyBlockchain

impl !UnwindSafe for AnyBlockchain

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html index 975361dc2d..2db9334895 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html @@ -32,43 +32,43 @@ will find this particularly useful.

);

Variants

-
Electrum(ElectrumBlockchainConfig)
This is supported on crate feature electrum only.
Expand description

Electrum client

-
Esplora(EsploraBlockchainConfig)
This is supported on crate feature esplora only.
Expand description

Esplora client

-
CompactFilters(CompactFiltersBlockchainConfig)
This is supported on crate feature compact_filters only.
Expand description

Compact filters client

-

Trait Implementations

impl Clone for AnyBlockchainConfig[src]

fn clone(&self) -> AnyBlockchainConfig[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for AnyBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for AnyBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: CompactFiltersBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: ElectrumBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: EsploraBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl PartialEq<AnyBlockchainConfig> for AnyBlockchainConfig[src]

fn eq(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

This is supported on crate feature electrum only.

Electrum client

+
This is supported on crate feature esplora only.

Esplora client

+
This is supported on crate feature compact_filters only.

Compact filters client

+

Trait Implementations

impl Clone for AnyBlockchainConfig[src]

fn clone(&self) -> AnyBlockchainConfig[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for AnyBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for AnyBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: CompactFiltersBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: ElectrumBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: EsploraBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl PartialEq<AnyBlockchainConfig> for AnyBlockchainConfig[src]

fn eq(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for AnyBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl StructuralPartialEq for AnyBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for AnyBlockchainConfig

impl Send for AnyBlockchainConfig

impl Sync for AnyBlockchainConfig

impl Unpin for AnyBlockchainConfig

impl UnwindSafe for AnyBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for !=.

+

impl Serialize for AnyBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl StructuralPartialEq for AnyBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for AnyBlockchainConfig

impl Send for AnyBlockchainConfig

impl Sync for AnyBlockchainConfig

impl Unpin for AnyBlockchainConfig

impl UnwindSafe for AnyBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html index c9a13f5cf5..a8c65e2514 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html @@ -20,53 +20,53 @@ }
This is supported on crate feature compact_filters only.
Expand description

An error that can occur during sync with a CompactFiltersBlockchain

Variants

-
InvalidResponse
Expand description

A peer sent an invalid or unexpected response

-
InvalidHeaders
Expand description

The headers returned are invalid

-
InvalidFilterHeader
Expand description

The compact filter headers returned are invalid

-
InvalidFilter
Expand description

The compact filter returned is invalid

-
MissingBlock
Expand description

The peer is missing a block in the valid chain

-
DataCorruption
Expand description

The data stored in the block filters storage are corrupted

-
NotConnected
Expand description

A peer is not connected

-
Timeout
Expand description

A peer took too long to reply to one of our messages

-
PeerBloomDisabled
Expand description

The peer doesn’t advertise the BLOOM service flag

-
NoPeers
Expand description

No peers have been specified

-
Db(Error)
Expand description

Internal database error

-
Io(Error)
Expand description

Internal I/O error

-
Bip158(Error)
Expand description

Invalid BIP158 filter

-
Time(SystemTimeError)
Expand description

Internal system time error

-
Global(Box<Error>)
Expand description

Wrapper for crate::error::Error

-

Trait Implementations

impl Debug for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Display for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Error for CompactFiltersError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

-

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<CompactFiltersError> for Error[src]

fn from(other: CompactFiltersError) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<SystemTimeError> for CompactFiltersError[src]

fn from(err: SystemTimeError) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for CompactFiltersError

impl Send for CompactFiltersError

impl Sync for CompactFiltersError

impl Unpin for CompactFiltersError

impl !UnwindSafe for CompactFiltersError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

InvalidResponse

A peer sent an invalid or unexpected response

+
InvalidHeaders

The headers returned are invalid

+
InvalidFilterHeader

The compact filter headers returned are invalid

+
InvalidFilter

The compact filter returned is invalid

+
MissingBlock

The peer is missing a block in the valid chain

+
DataCorruption

The data stored in the block filters storage are corrupted

+
NotConnected

A peer is not connected

+
Timeout

A peer took too long to reply to one of our messages

+
PeerBloomDisabled

The peer doesn’t advertise the BLOOM service flag

+
NoPeers

No peers have been specified

+
Db(Error)

Internal database error

+
Io(Error)

Internal I/O error

+
Bip158(Error)

Invalid BIP158 filter

+

Internal system time error

+
Global(Box<Error>)

Wrapper for crate::error::Error

+

Trait Implementations

impl Debug for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Display for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Error for CompactFiltersError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

+

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

+

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

impl From<CompactFiltersError> for Error[src]

fn from(other: CompactFiltersError) -> Self[src]

Performs the conversion.

+

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<SystemTimeError> for CompactFiltersError[src]

fn from(err: SystemTimeError) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl !RefUnwindSafe for CompactFiltersError

impl Send for CompactFiltersError

impl Sync for CompactFiltersError

impl Unpin for CompactFiltersError

impl !UnwindSafe for CompactFiltersError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html index cd8e845f9d..6948dac573 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html @@ -7,40 +7,40 @@ pub socks5_credentials: Option<(String, String)>, }
This is supported on crate feature compact_filters only.
Expand description

Data to connect to a Bitcoin P2P peer

- Fields

address: String
Expand description

Peer address such as 127.0.0.1:18333

-
socks5: Option<String>
Expand description

Optional socks5 proxy

-
socks5_credentials: Option<(String, String)>
Expand description

Optional socks5 proxy credentials

-

Trait Implementations

impl Clone for BitcoinPeerConfig[src]

fn clone(&self) -> BitcoinPeerConfig[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for BitcoinPeerConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for BitcoinPeerConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl PartialEq<BitcoinPeerConfig> for BitcoinPeerConfig[src]

fn eq(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for self and other values to be equal, and is used + Fieldsaddress: String

Peer address such as 127.0.0.1:18333

+
socks5: Option<String>

Optional socks5 proxy

+
socks5_credentials: Option<(String, String)>

Optional socks5 proxy credentials

+

Trait Implementations

impl Clone for BitcoinPeerConfig[src]

fn clone(&self) -> BitcoinPeerConfig[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for BitcoinPeerConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for BitcoinPeerConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl PartialEq<BitcoinPeerConfig> for BitcoinPeerConfig[src]

fn eq(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for BitcoinPeerConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl StructuralPartialEq for BitcoinPeerConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for BitcoinPeerConfig

impl Send for BitcoinPeerConfig

impl Sync for BitcoinPeerConfig

impl Unpin for BitcoinPeerConfig

impl UnwindSafe for BitcoinPeerConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for !=.

+

impl Serialize for BitcoinPeerConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl StructuralPartialEq for BitcoinPeerConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for BitcoinPeerConfig

impl Send for BitcoinPeerConfig

impl Sync for BitcoinPeerConfig

impl Unpin for BitcoinPeerConfig

impl UnwindSafe for BitcoinPeerConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html index a250de14f1..9790a4d0b2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html @@ -4,43 +4,43 @@ Change settings

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchain[][src]

pub struct CompactFiltersBlockchain { /* fields omitted */ }
This is supported on crate feature compact_filters only.
Expand description

Structure implementing the required blockchain traits

Example

See the blockchain::compact_filters module for a usage example.

-

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block +

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block filters downloaded during the sync and optionally a number of blocks to ignore starting from the genesis while scanning for the wallet’s outputs.

For each Peer specified a new thread will be spawned to download and verify the filters in parallel. It’s currently recommended to only connect to a single peer to avoid inconsistencies in the data returned, optionally with multiple connections in parallel to speed-up the sync process.

-

Trait Implementations

impl Blockchain for CompactFiltersBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

-

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

type Config = CompactFiltersBlockchainConfig

Type that contains the configuration

-

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl Debug for CompactFiltersBlockchain[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

fn from(inner: CompactFiltersBlockchain) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Blockchain for CompactFiltersBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

+

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

type Config = CompactFiltersBlockchainConfig

Type that contains the configuration

+

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl Debug for CompactFiltersBlockchain[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

fn from(inner: CompactFiltersBlockchain) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html index 87b6bee202..2af3dfde9f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html @@ -8,42 +8,42 @@ pub skip_blocks: Option<usize>, }
This is supported on crate feature compact_filters only.
Expand description

Configuration for a CompactFiltersBlockchain

- Fields

peers: Vec<BitcoinPeerConfig>
Expand description

List of peers to try to connect to for asking headers and filters

-
network: Network
Expand description

Network used

-
storage_dir: String
Expand description

Storage dir to save partially downloaded headers and full blocks

-
skip_blocks: Option<usize>
Expand description

Optionally skip initial skip_blocks blocks (default: 0)

-

Trait Implementations

impl Clone for CompactFiltersBlockchainConfig[src]

fn clone(&self) -> CompactFiltersBlockchainConfig[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for CompactFiltersBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: CompactFiltersBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl PartialEq<CompactFiltersBlockchainConfig> for CompactFiltersBlockchainConfig[src]

fn eq(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used + Fieldspeers: Vec<BitcoinPeerConfig>

List of peers to try to connect to for asking headers and filters

+
network: Network

Network used

+
storage_dir: String

Storage dir to save partially downloaded headers and full blocks

+
skip_blocks: Option<usize>

Optionally skip initial skip_blocks blocks (default: 0)

+

Trait Implementations

impl Clone for CompactFiltersBlockchainConfig[src]

fn clone(&self) -> CompactFiltersBlockchainConfig[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for CompactFiltersBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: CompactFiltersBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl PartialEq<CompactFiltersBlockchainConfig> for CompactFiltersBlockchainConfig[src]

fn eq(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for CompactFiltersBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl StructuralPartialEq for CompactFiltersBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for CompactFiltersBlockchainConfig

impl Send for CompactFiltersBlockchainConfig

impl Sync for CompactFiltersBlockchainConfig

impl Unpin for CompactFiltersBlockchainConfig

impl UnwindSafe for CompactFiltersBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for !=.

+

impl Serialize for CompactFiltersBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl StructuralPartialEq for CompactFiltersBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for CompactFiltersBlockchainConfig

impl Send for CompactFiltersBlockchainConfig

impl Sync for CompactFiltersBlockchainConfig

impl Unpin for CompactFiltersBlockchainConfig

impl UnwindSafe for CompactFiltersBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html index 70840a71f7..f5c1e1162b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html @@ -4,34 +4,34 @@ Change settings

Struct bdk::blockchain::compact_filters::Mempool[][src]

pub struct Mempool(_);
This is supported on crate feature compact_filters only.
Expand description

Container for unconfirmed, but valid Bitcoin transactions

It is normally shared between Peers with the use of Arc, so that transactions are not duplicated in memory.

-

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

-

pub fn add_tx(&self, tx: Transaction)[src]

Add a transaction to the mempool

+

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

+

pub fn add_tx(&self, tx: Transaction)[src]

Add a transaction to the mempool

Note that this doesn’t propagate the transaction to other peers. To do that, broadcast should be used.

-

pub fn get_tx(&self, inventory: &Inventory) -> Option<Transaction>[src]

Look-up a transaction in the mempool given an [Inventory] request

-

pub fn has_tx(&self, txid: &Txid) -> bool[src]

Return whether or not the mempool contains a transaction with a given txid

-

pub fn iter_txs(&self) -> Vec<Transaction>[src]

Return the list of transactions contained in the mempool

-

Trait Implementations

impl Debug for Mempool[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for Mempool[src]

fn default() -> Mempool[src]

Returns the “default value” for a type. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for Mempool

impl Send for Mempool

impl Sync for Mempool

impl Unpin for Mempool

impl UnwindSafe for Mempool

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

pub fn get_tx(&self, inventory: &Inventory) -> Option<Transaction>[src]

Look-up a transaction in the mempool given an [Inventory] request

+

pub fn has_tx(&self, txid: &Txid) -> bool[src]

Return whether or not the mempool contains a transaction with a given txid

+

pub fn iter_txs(&self) -> Vec<Transaction>[src]

Return the list of transactions contained in the mempool

+

Trait Implementations

impl Debug for Mempool[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for Mempool[src]

fn default() -> Mempool[src]

Returns the “default value” for a type. Read more

+

Auto Trait Implementations

impl RefUnwindSafe for Mempool

impl Send for Mempool

impl Sync for Mempool

impl Unpin for Mempool

impl UnwindSafe for Mempool

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html index b625f433db..c9512e5465 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html @@ -2,39 +2,39 @@

Struct bdk::blockchain::compact_filters::Peer[][src]

pub struct Peer { /* fields omitted */ }
This is supported on crate feature compact_filters only.
Expand description

A Bitcoin peer

-

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

+

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

This function internally spawns a new thread that will monitor incoming messages from the peer, and optionally reply to some of them transparently, like pings

-

pub fn connect_proxy<T: ToTargetAddr, P: ToSocketAddrs>(
    target: T,
    proxy: P,
    credentials: Option<(&str, &str)>,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified +

pub fn connect_proxy<T: ToTargetAddr, P: ToSocketAddrs>(
    target: T,
    proxy: P,
    credentials: Option<(&str, &str)>,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified as a tuple of (username, password)

This function internally spawns a new thread that will monitor incoming messages from the peer, and optionally reply to some of them transparently, like pings

-

pub fn get_version(&self) -> &VersionMessage[src]

Return the [VersionMessage] sent by the peer

-

pub fn get_network(&self) -> Network[src]

Return the Bitcoin [Network] in use

-

pub fn get_mempool(&self) -> Arc<Mempool>[src]

Return the mempool used by this peer

-

pub fn is_connected(&self) -> bool[src]

Return whether or not the peer is still connected

-

pub fn send(&self, payload: NetworkMessage) -> Result<(), CompactFiltersError>[src]

Send a raw Bitcoin message to the peer

-

pub fn recv(
    &self,
    wait_for: &'static str,
    timeout: Option<Duration>
) -> Result<Option<NetworkMessage>, CompactFiltersError>
[src]

Waits for a specific incoming Bitcoin message, optionally with a timeout

-

Trait Implementations

impl Debug for Peer[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

impl !RefUnwindSafe for Peer

impl Send for Peer

impl Sync for Peer

impl Unpin for Peer

impl !UnwindSafe for Peer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

pub fn get_version(&self) -> &VersionMessage[src]

Return the [VersionMessage] sent by the peer

+

pub fn get_network(&self) -> Network[src]

Return the Bitcoin [Network] in use

+

pub fn get_mempool(&self) -> Arc<Mempool>[src]

Return the mempool used by this peer

+

pub fn is_connected(&self) -> bool[src]

Return whether or not the peer is still connected

+

pub fn send(&self, payload: NetworkMessage) -> Result<(), CompactFiltersError>[src]

Send a raw Bitcoin message to the peer

+

pub fn recv(
    &self,
    wait_for: &'static str,
    timeout: Option<Duration>
) -> Result<Option<NetworkMessage>, CompactFiltersError>
[src]

Waits for a specific incoming Bitcoin message, optionally with a timeout

+

Trait Implementations

impl Debug for Peer[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

impl !RefUnwindSafe for Peer

impl Send for Peer

impl Sync for Peer

impl Unpin for Peer

impl !UnwindSafe for Peer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html index 499c7ff1ea..2d3d61b90c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html @@ -4,36 +4,36 @@ Change settings

Struct bdk::blockchain::electrum::ElectrumBlockchain[][src]

pub struct ElectrumBlockchain(_);
This is supported on crate feature electrum only.
Expand description

Wrapper over an Electrum Client that implements the required blockchain traits

Example

See the blockchain::electrum module for a usage example.

-

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

-

impl ConfigurableBlockchain for ElectrumBlockchain[src]

type Config = ElectrumBlockchainConfig

Type that contains the configuration

-

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl From<Client> for ElectrumBlockchain[src]

fn from(client: Client) -> Self[src]

Performs the conversion.

-

impl From<ElectrumBlockchain> for AnyBlockchain[src]

fn from(inner: ElectrumBlockchain) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

+

impl ConfigurableBlockchain for ElectrumBlockchain[src]

type Config = ElectrumBlockchainConfig

Type that contains the configuration

+

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl From<Client> for ElectrumBlockchain[src]

fn from(client: Client) -> Self[src]

Performs the conversion.

+

impl From<ElectrumBlockchain> for AnyBlockchain[src]

fn from(inner: ElectrumBlockchain) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html index ab1b1882a9..87cbbd9bd6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html @@ -1,50 +1,50 @@ ElectrumBlockchainConfig in bdk::blockchain::electrum - Rust

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
+                Change settings

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
     pub url: String,
     pub socks5: Option<String>,
     pub retry: u8,
     pub timeout: Option<u8>,
 }
This is supported on crate feature electrum only.
Expand description

Configuration for an ElectrumBlockchain

- Fields

url: String
Expand description

URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port

+ Fieldsurl: String

URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port

eg. ssl://electrum.blockstream.info:60002

-
socks5: Option<String>
Expand description

URL of the socks5 proxy server or a Tor service

-
retry: u8
Expand description

Request retry count

-
timeout: Option<u8>
Expand description

Request timeout (seconds)

-

Trait Implementations

impl Clone for ElectrumBlockchainConfig[src]

fn clone(&self) -> ElectrumBlockchainConfig[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for ElectrumBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for ElectrumBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: ElectrumBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl PartialEq<ElectrumBlockchainConfig> for ElectrumBlockchainConfig[src]

fn eq(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

socks5: Option<String>

URL of the socks5 proxy server or a Tor service

+
retry: u8

Request retry count

+
timeout: Option<u8>

Request timeout (seconds)

+

Trait Implementations

impl Clone for ElectrumBlockchainConfig[src]

fn clone(&self) -> ElectrumBlockchainConfig[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for ElectrumBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for ElectrumBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: ElectrumBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl PartialEq<ElectrumBlockchainConfig> for ElectrumBlockchainConfig[src]

fn eq(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for ElectrumBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl StructuralPartialEq for ElectrumBlockchainConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for !=.

+

impl Serialize for ElectrumBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl StructuralPartialEq for ElectrumBlockchainConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html index 3720a0a312..f65107a134 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html @@ -8,41 +8,41 @@ }
Expand description

Capabilities that can be supported by a Blockchain backend

Variants

-
FullHistory
Expand description

Can recover the full history of a wallet and not only the set of currently spendable UTXOs

-
GetAnyTx
Expand description

Can fetch any historical transaction given its txid

-
AccurateFees
Expand description

Can compute accurate fees for the transactions found during sync

-

Trait Implementations

impl Clone for Capability[src]

fn clone(&self) -> Capability[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Capability[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Hash for Capability[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

-

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl PartialEq<Capability> for Capability[src]

fn eq(&self, other: &Capability) -> bool[src]

This method tests for self and other values to be equal, and is used +

FullHistory

Can recover the full history of a wallet and not only the set of currently spendable UTXOs

+
GetAnyTx

Can fetch any historical transaction given its txid

+
AccurateFees

Can compute accurate fees for the transactions found during sync

+

Trait Implementations

impl Clone for Capability[src]

fn clone(&self) -> Capability[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Capability[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Hash for Capability[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

+

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

+

impl PartialEq<Capability> for Capability[src]

fn eq(&self, other: &Capability) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl Copy for Capability[src]

impl Eq for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[src]

Auto Trait Implementations

impl RefUnwindSafe for Capability

impl Send for Capability

impl Sync for Capability

impl Unpin for Capability

impl UnwindSafe for Capability

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

+

impl Copy for Capability[src]

impl Eq for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[src]

Auto Trait Implementations

impl RefUnwindSafe for Capability

impl Send for Capability

impl Sync for Capability

impl Unpin for Capability

impl UnwindSafe for Capability

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html index e927d39c48..4948a13564 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html @@ -12,44 +12,44 @@ }
This is supported on crate feature esplora only.
Expand description

Errors that can happen during a sync with EsploraBlockchain

Variants

-
Reqwest(Error)
Expand description

Error with the HTTP call

-
Parsing(ParseIntError)
Expand description

Invalid number returned

-
BitcoinEncoding(Error)
Expand description

Invalid Bitcoin data returned

-
Hex(Error)
Expand description

Invalid Hex data returned

-
TransactionNotFound(Txid)
Expand description

Transaction not found

-
HeaderHeightNotFound(u32)
Expand description

Header height not found

-
HeaderHashNotFound(BlockHash)
Expand description

Header hash not found

-

Trait Implementations

impl Debug for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Display for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Error for EsploraError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

-

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<EsploraError> for Error[src]

fn from(err: EsploraError) -> Self[src]

Performs the conversion.

-

impl From<ParseIntError> for EsploraError[src]

fn from(err: ParseIntError) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for EsploraError

impl Send for EsploraError

impl Sync for EsploraError

impl Unpin for EsploraError

impl !UnwindSafe for EsploraError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Reqwest(Error)

Error with the HTTP call

+
Parsing(ParseIntError)

Invalid number returned

+
BitcoinEncoding(Error)

Invalid Bitcoin data returned

+
Hex(Error)

Invalid Hex data returned

+
TransactionNotFound(Txid)

Transaction not found

+
HeaderHeightNotFound(u32)

Header height not found

+
HeaderHashNotFound(BlockHash)

Header hash not found

+

Trait Implementations

impl Debug for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Display for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Error for EsploraError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

+

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

+

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<EsploraError> for Error[src]

fn from(err: EsploraError) -> Self[src]

Performs the conversion.

+

impl From<ParseIntError> for EsploraError[src]

fn from(err: ParseIntError) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl !RefUnwindSafe for EsploraError

impl Send for EsploraError

impl Sync for EsploraError

impl Unpin for EsploraError

impl !UnwindSafe for EsploraError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html index 5a9cb323e9..d153cf5176 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html @@ -1,7 +1,7 @@ bdk::blockchain::esplora - Rust

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.
Expand description

Esplora

+ Change settings

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.
Expand description

Esplora

This module defines a Blockchain struct that can query an Esplora backend populate the wallet’s database by

Example

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html index 4261445cd5..997b1b1ea3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html @@ -4,37 +4,37 @@ Change settings

Struct bdk::blockchain::esplora::EsploraBlockchain[][src]

pub struct EsploraBlockchain(_);
This is supported on crate feature esplora only.
Expand description

Structure that implements the logic to sync with Esplora

Example

See the blockchain::esplora module for a usage example.

-

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

-

Trait Implementations

impl Blockchain for EsploraBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

-

impl ConfigurableBlockchain for EsploraBlockchain[src]

type Config = EsploraBlockchainConfig

Type that contains the configuration

-

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl Debug for EsploraBlockchain[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<EsploraBlockchain> for AnyBlockchain[src]

fn from(inner: EsploraBlockchain) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

+

Trait Implementations

impl Blockchain for EsploraBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

+

impl ConfigurableBlockchain for EsploraBlockchain[src]

type Config = EsploraBlockchainConfig

Type that contains the configuration

+

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl Debug for EsploraBlockchain[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<EsploraBlockchain> for AnyBlockchain[src]

fn from(inner: EsploraBlockchain) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html index b1ac95f357..1c6f1d1d5e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html @@ -6,41 +6,41 @@ pub concurrency: Option<u8>, }
This is supported on crate feature esplora only.
Expand description

Configuration for an EsploraBlockchain

- Fields

base_url: String
Expand description

Base URL of the esplora service

+ Fieldsbase_url: String

Base URL of the esplora service

eg. https://blockstream.info/api/

-
concurrency: Option<u8>
Expand description

Number of parallel requests sent to the esplora service (default: 4)

-

Trait Implementations

impl Clone for EsploraBlockchainConfig[src]

fn clone(&self) -> EsploraBlockchainConfig[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for EsploraBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for EsploraBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: EsploraBlockchainConfig) -> Self[src]

Performs the conversion.

-

impl PartialEq<EsploraBlockchainConfig> for EsploraBlockchainConfig[src]

fn eq(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

concurrency: Option<u8>

Number of parallel requests sent to the esplora service (default: 4)

+

Trait Implementations

impl Clone for EsploraBlockchainConfig[src]

fn clone(&self) -> EsploraBlockchainConfig[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for EsploraBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for EsploraBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

fn from(inner: EsploraBlockchainConfig) -> Self[src]

Performs the conversion.

+

impl PartialEq<EsploraBlockchainConfig> for EsploraBlockchainConfig[src]

fn eq(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for EsploraBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl StructuralPartialEq for EsploraBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for EsploraBlockchainConfig

impl Send for EsploraBlockchainConfig

impl Sync for EsploraBlockchainConfig

impl Unpin for EsploraBlockchainConfig

impl UnwindSafe for EsploraBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for !=.

+

impl Serialize for EsploraBlockchainConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl StructuralPartialEq for EsploraBlockchainConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for EsploraBlockchainConfig

impl Send for EsploraBlockchainConfig

impl Sync for EsploraBlockchainConfig

impl Unpin for EsploraBlockchainConfig

impl UnwindSafe for EsploraBlockchainConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html index 757b27cac7..a1406b6fe7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html @@ -2,32 +2,32 @@

Struct bdk::blockchain::LogProgress[][src]

pub struct LogProgress;
Expand description

Type that implements Progress and logs at level INFO every update received

-

Trait Implementations

impl Clone for LogProgress[src]

fn clone(&self) -> LogProgress[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Clone for LogProgress[src]

fn clone(&self) -> LogProgress[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html index 542a7e2489..e63d872bbe 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html @@ -2,32 +2,32 @@

Struct bdk::blockchain::NoopProgress[][src]

pub struct NoopProgress;
Expand description

Type that implements Progress and drops every update received

-

Trait Implementations

impl Clone for NoopProgress[src]

fn clone(&self) -> NoopProgress[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Clone for NoopProgress[src]

fn clone(&self) -> NoopProgress[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html index 571c014eb2..a0e4be3fb7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html @@ -11,19 +11,19 @@ fn sync<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error> { ... } }
Expand description

Trait that defines the actions that must be supported by a blockchain backend

-

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Expand description

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Expand description

Setup the backend and populate the internal database for the first time

+

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time

This method is the equivalent of Blockchain::sync, but it’s guaranteed to only be called once, at the first Wallet::sync.

The rationale behind the distinction between sync and setup is that some custom backends might need to perform specific actions only the first time they are synced.

For types that do not have that distinction, only this method can be implemented, since Blockchain::sync defaults to calling this internally if not overridden.

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Expand description

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Expand description

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Expand description

Estimate the fee rate required to confirm a transaction in a given target of blocks

-

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Expand description

Populate the internal database with transactions and UTXOs

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs

If not overridden, it defaults to calling Blockchain::setup internally.

This method should implement the logic required to iterate over the list of the wallet’s script_pubkeys using Database::iter_script_pubkeys and look for relevant transactions @@ -33,5 +33,5 @@ in the blockchain to populate the database with BatchOperations::del_utxo.

The progress_update object can be used to give the caller updates about the progress by using Progress::update.

-

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Implementors

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

+

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Implementors

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html index b0d911ab21..eab503a8b2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html @@ -5,7 +5,7 @@ type Config: Debug; fn from_config(config: &Self::Config) -> Result<Self, Error>; }
Expand description

Trait for Blockchain types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Expand description

Type that contains the configuration

-

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Expand description

Create a new instance given a configuration

-

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
+

Associated Types

type Config: Debug[src]

Type that contains the configuration

+

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html index 8fbbd5cd63..0779775592 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html @@ -5,8 +5,8 @@ fn update(
        &self,
        progress: f32,
        message: Option<String>
    ) -> Result<(), Error>; }
Expand description

Trait for types that can receive and process progress updates during Blockchain::sync and Blockchain::setup

-

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Expand description

Send a new progress update

+

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update

The progress value should be in the range 0.0 - 100.0, and the message value is an optional text message that can be displayed to the user.

-

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Implementors

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

+

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Implementors

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html index 8955bc2b8e..62321e9944 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html @@ -7,41 +7,41 @@ }
Expand description

Type that contains any of the BatchDatabase::Batch types defined by the library

Variants

-
Memory(<MemoryDatabase as BatchDatabase>::Batch)
Expand description

In-memory ephemeral database

-
Sled(<Tree as BatchDatabase>::Batch)
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

In-memory ephemeral database

+
Sled(<Tree as BatchDatabase>::Batch)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child number. Read more

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

-

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

impl From<<Tree as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <Tree as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for AnyBatch

impl !Send for AnyBatch

impl !Sync for AnyBatch

impl Unpin for AnyBatch

impl !UnwindSafe for AnyBatch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

+

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

+

impl From<<Tree as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <Tree as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl !RefUnwindSafe for AnyBatch

impl !Send for AnyBatch

impl !Sync for AnyBatch

impl Unpin for AnyBatch

impl !UnwindSafe for AnyBatch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html index d3a7a2f572..c19df097b8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html @@ -9,59 +9,59 @@

See this module’s documentation for a usage example.

Variants

-
Memory(MemoryDatabase)
Expand description

In-memory ephemeral database

-
Sled(Tree)
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

-

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

-

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

-

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

In-memory ephemeral database

+
Sled(Tree)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

+

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

+

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

+

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child number. Read more

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

-

impl ConfigurableDatabase for AnyDatabase[src]

type Config = AnyDatabaseConfig

Type that contains the configuration

-

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain. Read more

-

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

-

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

-

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

-

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

-

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

-

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

-

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

-

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

-

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

-

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

-

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it Read more

-

impl Debug for AnyDatabase[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<MemoryDatabase> for AnyDatabase[src]

fn from(inner: MemoryDatabase) -> Self[src]

Performs the conversion.

-

impl From<Tree> for AnyDatabase[src]

fn from(inner: Tree) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for AnyDatabase

impl !Send for AnyDatabase

impl !Sync for AnyDatabase

impl Unpin for AnyDatabase

impl !UnwindSafe for AnyDatabase

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

+

impl ConfigurableDatabase for AnyDatabase[src]

type Config = AnyDatabaseConfig

Type that contains the configuration

+

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain. Read more

+

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

+

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

+

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

+

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

+

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

+

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

+

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

+

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

+

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

+

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

+

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it Read more

+

impl Debug for AnyDatabase[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<MemoryDatabase> for AnyDatabase[src]

fn from(inner: MemoryDatabase) -> Self[src]

Performs the conversion.

+

impl From<Tree> for AnyDatabase[src]

fn from(inner: Tree) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl !RefUnwindSafe for AnyDatabase

impl !Send for AnyDatabase

impl !Sync for AnyDatabase

impl Unpin for AnyDatabase

impl !UnwindSafe for AnyDatabase

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html index b506d5bd8f..ccb09abfe5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html @@ -10,32 +10,32 @@ instance. Wallets that plan to offer users the ability to switch blockchain back will find this particularly useful.

Variants

-
Memory(())
Expand description

Memory database has no config

-
Sled(SledDbConfiguration)
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for AnyDatabaseConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<()> for AnyDatabaseConfig[src]

fn from(inner: ()) -> Self[src]

Performs the conversion.

-

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

-

impl Serialize for AnyDatabaseConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for AnyDatabaseConfig

impl Send for AnyDatabaseConfig

impl Sync for AnyDatabaseConfig

impl Unpin for AnyDatabaseConfig

impl UnwindSafe for AnyDatabaseConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Memory(())

Memory database has no config

+
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for AnyDatabaseConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<()> for AnyDatabaseConfig[src]

fn from(inner: ()) -> Self[src]

Performs the conversion.

+

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

+

impl Serialize for AnyDatabaseConfig[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

impl RefUnwindSafe for AnyDatabaseConfig

impl Send for AnyDatabaseConfig

impl Sync for AnyDatabaseConfig

impl Unpin for AnyDatabaseConfig

impl UnwindSafe for AnyDatabaseConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html index 27fc303638..95da62645f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html @@ -6,31 +6,31 @@ pub tree_name: String, }
Expand description

Configuration type for a [sled::Tree] database

- Fields

path: String
Expand description

Main directory of the db

-
tree_name: String
Expand description

Name of the database tree, a separated namespace for the data

-

Trait Implementations

impl Debug for SledDbConfiguration[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'de> Deserialize<'de> for SledDbConfiguration[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

-

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

-

impl Serialize for SledDbConfiguration[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for SledDbConfiguration

impl Send for SledDbConfiguration

impl Sync for SledDbConfiguration

impl Unpin for SledDbConfiguration

impl UnwindSafe for SledDbConfiguration

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an + Fieldspath: String

Main directory of the db

+
tree_name: String

Name of the database tree, a separated namespace for the data

+

Trait Implementations

impl Debug for SledDbConfiguration[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'de> Deserialize<'de> for SledDbConfiguration[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

+

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

+

impl Serialize for SledDbConfiguration[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

impl RefUnwindSafe for SledDbConfiguration

impl Send for SledDbConfiguration

impl Sync for SledDbConfiguration

impl Unpin for SledDbConfiguration

impl UnwindSafe for SledDbConfiguration

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html index bcf21a587b..1fb243815a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html @@ -7,59 +7,59 @@ a device, or on platforms that don’t provide a filesystem, like wasm32Once it’s dropped its content will be lost.

If you are looking for a permanent storage solution, you can try with the default key-value database called [sled]. See the database module documentation for more defailts.

-

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

-

Trait Implementations

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Container for the operations

-

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

-

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

-

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

+

Trait Implementations

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Container for the operations

+

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

+

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

+

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child number. Read more

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

-

impl ConfigurableDatabase for MemoryDatabase[src]

type Config = ()

Type that contains the configuration

-

fn from_config(_config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain. Read more

-

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

-

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

-

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

-

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

-

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

-

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

-

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

-

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

-

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

-

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

-

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it Read more

-

impl Debug for MemoryDatabase[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for MemoryDatabase[src]

fn default() -> MemoryDatabase[src]

Returns the “default value” for a type. Read more

-

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

impl From<MemoryDatabase> for AnyDatabase[src]

fn from(inner: MemoryDatabase) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

+

impl ConfigurableDatabase for MemoryDatabase[src]

type Config = ()

Type that contains the configuration

+

fn from_config(_config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain. Read more

+

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

+

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

+

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

+

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

+

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

+

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

+

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

+

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

+

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

+

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

+

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it Read more

+

impl Debug for MemoryDatabase[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for MemoryDatabase[src]

fn default() -> MemoryDatabase[src]

Returns the “default value” for a type. Read more

+

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

+

impl From<MemoryDatabase> for AnyDatabase[src]

fn from(inner: MemoryDatabase) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html index 13277547b2..7912925fac 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html @@ -7,8 +7,8 @@
fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>; }
Expand description

Trait for a database that supports batch operations

This trait defines the methods to start and apply a batch of operations.

-

Associated Types

type Batch: BatchOperations[src]

Expand description

Container for the operations

-

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Expand description

Create a new batch container

-

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Expand description

Consume and apply a batch of operations

-

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

+

Associated Types

type Batch: BatchOperations[src]

Container for the operations

+

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

+

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

+

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html index 38cec1897d..a51230c5fb 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html @@ -16,17 +16,17 @@ }
Expand description

Trait for operations that can be batched

This trait defines the list of operations that must be implemented on the Database type and the BatchDatabase::Batch type.

-

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Expand description

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Expand description

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Expand description

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Expand description

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Expand description

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Expand description

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Expand description

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child number.

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Expand description

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Expand description

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Expand description

Delete the last derivation index for a keychain.

-

Implementations on Foreign Types

impl BatchOperations for Tree[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for Batch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Implementors

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

+

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

+

Implementations on Foreign Types

impl BatchOperations for Tree[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for Batch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Implementors

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html index 9b64a51594..ba870dc6ce 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html @@ -5,7 +5,7 @@ type Config: Debug; fn from_config(config: &Self::Config) -> Result<Self, Error>; }
Expand description

Trait for Database types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Expand description

Type that contains the configuration

-

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Expand description

Create a new instance given a configuration

-

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Implementors

+

Associated Types

type Config: Debug[src]

Type that contains the configuration

+

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Implementors

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html index 2e57b2e162..285a7b78e7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html @@ -16,21 +16,21 @@
fn increment_last_index(
        &mut self,
        keychain: KeychainKind
    ) -> Result<u32, Error>; }
Expand description

Trait for reading data from a database

This traits defines the operations that can be used to read data out of a database

-

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Expand description

Read and checks the descriptor checksum for a given keychain.

+

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain.

Should return Error::ChecksumMismatch if the checksum doesn’t match. If there’s no checksum in the database, simply store it for the next time.

-

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Expand description

Return the list of script_pubkeys

-

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Expand description

Return the list of LocalUtxos

-

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Expand description

Return the list of raw transactions

-

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Expand description

Return the list of transactions metadata

-

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Expand description

Fetch a script_pubkey given the child number of a keychain.

-

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Expand description

Fetch the keychain and child number of a given script_pubkey

-

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Expand description

Fetch a LocalUtxo given its [OutPoint]

-

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Fetch a raw transaction given its [Txid]

-

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Expand description

Fetch the transaction metadata and optionally also the raw transaction

-

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Expand description

Return the last defivation index for a keychain.

-

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Expand description

Increment the last derivation index for a keychain and return it

+

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

+

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

+

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

+

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

+

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

+

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

+

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

+

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

+

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

+

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

+

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it

It should insert and return 0 if not present in the database

-

Implementations on Foreign Types

impl Database for Tree[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Implementors

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

+

Implementations on Foreign Types

impl Database for Tree[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Implementors

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html index 7552ccb9a5..2bc716052e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html @@ -10,49 +10,49 @@ }
Expand description

Script descriptor

Variants

-
Bare(Bare<Pk>)
Expand description

A raw scriptpubkey (including pay-to-pubkey) under Legacy context

-
Pkh(Pkh<Pk>)
Expand description

Pay-to-PubKey-Hash

-
Wpkh(Wpkh<Pk>)
Expand description

Pay-to-Witness-PubKey-Hash

-
Sh(Sh<Pk>)
Expand description

Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)

-
Wsh(Wsh<Pk>)
Expand description

Pay-to-Witness-ScriptHash with Segwitv0 context

-

Implementations

impl<Pk> Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn new_pk(pk: Pk) -> Descriptor<Pk>

Create a new pk descriptor

-

pub fn new_pkh(pk: Pk) -> Descriptor<Pk>

Create a new PkH descriptor

-

pub fn new_wpkh(pk: Pk) -> Result<Descriptor<Pk>, Error>

Create a new Wpkh descriptor +

Bare(Bare<Pk>)

A raw scriptpubkey (including pay-to-pubkey) under Legacy context

+
Pkh(Pkh<Pk>)

Pay-to-PubKey-Hash

+
Wpkh(Wpkh<Pk>)

Pay-to-Witness-PubKey-Hash

+
Sh(Sh<Pk>)

Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)

+
Wsh(Wsh<Pk>)

Pay-to-Witness-ScriptHash with Segwitv0 context

+

Implementations

impl<Pk> Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn new_pk(pk: Pk) -> Descriptor<Pk>

Create a new pk descriptor

+

pub fn new_pkh(pk: Pk) -> Descriptor<Pk>

Create a new PkH descriptor

+

pub fn new_wpkh(pk: Pk) -> Result<Descriptor<Pk>, Error>

Create a new Wpkh descriptor Will return Err if uncompressed key is used

-

pub fn new_sh_wpkh(pk: Pk) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wpkh from Pk. +

pub fn new_sh_wpkh(pk: Pk) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wpkh from Pk. Errors when uncompressed keys are supplied

-

pub fn new_sh(ms: Miniscript<Pk, Legacy>) -> Result<Descriptor<Pk>, Error>

Create a new sh for a given redeem script +

pub fn new_sh(ms: Miniscript<Pk, Legacy>) -> Result<Descriptor<Pk>, Error>

Create a new sh for a given redeem script Errors when miniscript exceeds resource limits under p2sh context or does not type check at the top level

-

pub fn new_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new wsh descriptor from witness script +

pub fn new_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new wsh descriptor from witness script Errors when miniscript exceeds resource limits under p2sh context or does not type check at the top level

-

pub fn new_sh_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh descriptor with witness script +

pub fn new_sh_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh descriptor with witness script Errors when miniscript exceeds resource limits under wsh context or does not type check at the top level

-

pub fn new_bare(ms: Miniscript<Pk, BareCtx>) -> Result<Descriptor<Pk>, Error>

Create a new bare descriptor from witness script +

pub fn new_bare(ms: Miniscript<Pk, BareCtx>) -> Result<Descriptor<Pk>, Error>

Create a new bare descriptor from witness script Errors when miniscript exceeds resource limits under bare context or does not type check at the top level

-

pub fn new_sh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh sortedmulti descriptor with threshold k +

pub fn new_sh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh sortedmulti descriptor with threshold k and Vec of pks. Errors when miniscript exceeds resource limits under p2sh context

-

pub fn new_sh_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh sortedmulti descriptor from threshold +

pub fn new_sh_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh sortedmulti descriptor from threshold k and Vec of pks Errors when miniscript exceeds resource limits under segwit context

-

pub fn new_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new wsh sorted multi descriptor +

pub fn new_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new wsh sorted multi descriptor Errors when miniscript exceeds resource limits under p2sh context

-

pub fn desc_type(&self) -> DescriptorType

Get the [DescriptorType] of Descriptor

-

impl Descriptor<DescriptorPublicKey>

pub fn is_deriveable(&self) -> bool

Whether or not the descriptor has any wildcards

-

pub fn derive(&self, index: u32) -> Descriptor<DescriptorPublicKey>

Derives all wildcard keys in the descriptor using the supplied index

+

pub fn desc_type(&self) -> DescriptorType

Get the [DescriptorType] of Descriptor

+

impl Descriptor<DescriptorPublicKey>

pub fn is_deriveable(&self) -> bool

Whether or not the descriptor has any wildcards

+

pub fn derive(&self, index: u32) -> Descriptor<DescriptorPublicKey>

Derives all wildcard keys in the descriptor using the supplied index

Panics if given an index ≥ 2^31

-

pub fn parse_descriptor<C>(
    secp: &Secp256k1<C>,
    s: &str
) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error> where
    C: Signing, 

Parse a descriptor that may contain secret keys

+

pub fn parse_descriptor<C>(
    secp: &Secp256k1<C>,
    s: &str
) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error> where
    C: Signing, 

Parse a descriptor that may contain secret keys

Internally turns every secret key found into the corresponding public key and then returns a a descriptor that only contains public keys and a map to lookup the secret key given a public key.

-

pub fn to_string_with_secret(
    &self,
    key_map: &HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>
) -> String

Serialize a descriptor to string with its secret keys

-

Trait Implementations

impl<Pk> Clone for Descriptor<Pk> where
    Pk: Clone + MiniscriptKey, 

pub fn clone(&self) -> Descriptor<Pk>

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl<Pk> Debug for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

-

impl<Pk> DescriptorTrait<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn sanity_check(&self) -> Result<(), Error>

Whether the descriptor is safe +

pub fn to_string_with_secret(
    &self,
    key_map: &HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>
) -> String

Serialize a descriptor to string with its secret keys

+

Trait Implementations

impl<Pk> Clone for Descriptor<Pk> where
    Pk: Clone + MiniscriptKey, 

pub fn clone(&self) -> Descriptor<Pk>

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl<Pk> Debug for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

+

impl<Pk> DescriptorTrait<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn sanity_check(&self) -> Result<(), Error>

Whether the descriptor is safe Checks whether all the spend paths in the descriptor are possible on the bitcoin network under the current standardness and consensus rules Also checks whether the descriptor requires signauture on all spend paths @@ -60,99 +60,99 @@ And whether the script is malleable. In general, all the guarantees of miniscript hold only for safe scripts. All the analysis guarantees of miniscript only hold safe scripts. The signer may not be able to find satisfactions even if one exists

-

pub fn address(&self, network: Network) -> Result<Address, Error> where
    Pk: ToPublicKey, 

Computes the Bitcoin address of the descriptor, if one exists

-

pub fn script_pubkey(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptpubkey of the descriptor

-

pub fn unsigned_script_sig(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptSig that will be in place for an unsigned +

pub fn address(&self, network: Network) -> Result<Address, Error> where
    Pk: ToPublicKey, 

Computes the Bitcoin address of the descriptor, if one exists

+

pub fn script_pubkey(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptpubkey of the descriptor

+

pub fn unsigned_script_sig(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptSig that will be in place for an unsigned input spending an output with this descriptor. For pre-segwit descriptors, which use the scriptSig for signatures, this returns the empty script.

This is used in Segwit transactions to produce an unsigned transaction whose txid will not change during signing (since only the witness data will change).

-

pub fn explicit_script(&self) -> Script where
    Pk: ToPublicKey, 

Computes the “witness script” of the descriptor, i.e. the underlying +

pub fn explicit_script(&self) -> Script where
    Pk: ToPublicKey, 

Computes the “witness script” of the descriptor, i.e. the underlying script before any hashing is done. For Bare, Pkh and Wpkh this is the scriptPubkey; for ShWpkh and Sh this is the redeemScript; for the others it is the witness script.

-

pub fn get_satisfaction<S>(
    &self,
    satisfier: S
) -> Result<(Vec<Vec<u8, Global>, Global>, Script), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Returns satisfying witness and scriptSig to spend an +

pub fn get_satisfaction<S>(
    &self,
    satisfier: S
) -> Result<(Vec<Vec<u8, Global>, Global>, Script), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Returns satisfying witness and scriptSig to spend an output controlled by the given descriptor if it possible to construct one using the satisfier S.

-

pub fn max_satisfaction_weight(&self) -> Result<usize, Error>

Computes an upper bound on the weight of a satisfying witness to the +

pub fn max_satisfaction_weight(&self) -> Result<usize, Error>

Computes an upper bound on the weight of a satisfying witness to the transaction. Assumes all signatures are 73 bytes, including push opcode and sighash suffix. Includes the weight of the VarInts encoding the scriptSig and witness stack length.

-

pub fn script_code(&self) -> Script where
    Pk: ToPublicKey, 

Get the scriptCode of a transaction output.

+

pub fn script_code(&self) -> Script where
    Pk: ToPublicKey, 

Get the scriptCode of a transaction output.

The scriptCode is the Script of the previous transaction output being serialized in the sighash when evaluating a CHECKSIG & co. OP code.

-

fn satisfy<S>(&self, txin: &mut TxIn, satisfier: S) -> Result<(), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempts to produce a satisfying witness and scriptSig to spend an +

fn satisfy<S>(&self, txin: &mut TxIn, satisfier: S) -> Result<(), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempts to produce a satisfying witness and scriptSig to spend an output controlled by the given descriptor; add the data to a given TxIn output. Read more

-

impl<Pk> Display for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

-

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

Extract the spending policy

-

impl<Pk> ForEachKey<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether +

impl<Pk> Display for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

+

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

Extract the spending policy

+

impl<Pk> ForEachKey<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

-

fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether +

fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

-

impl<Pk> FromStr for Descriptor<Pk> where
    Pk: MiniscriptKey + FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

type Err = Error

The associated error which can be returned from parsing.

-

pub fn from_str(s: &str) -> Result<Descriptor<Pk>, Error>

Parses a string s to return a value of this type. Read more

-

impl<Pk> FromTree for Descriptor<Pk> where
    Pk: MiniscriptKey + FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

pub fn from_tree(top: &Tree<'_>) -> Result<Descriptor<Pk>, Error>

Parse an expression tree into a descriptor

-

impl<Pk> Liftable<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn lift(&self) -> Result<Policy<Pk>, Error>

Convert the object into an abstract policy

-

impl<Pk> Ord for Descriptor<Pk> where
    Pk: Ord + MiniscriptKey, 

pub fn cmp(&self, other: &Descriptor<Pk>) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl<Pk> PartialEq<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialEq<Pk> + MiniscriptKey, 

pub fn eq(&self, other: &Descriptor<Pk>) -> bool

This method tests for self and other values to be equal, and is used +

impl<Pk> FromStr for Descriptor<Pk> where
    Pk: MiniscriptKey + FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

type Err = Error

The associated error which can be returned from parsing.

+

pub fn from_str(s: &str) -> Result<Descriptor<Pk>, Error>

Parses a string s to return a value of this type. Read more

+

impl<Pk> FromTree for Descriptor<Pk> where
    Pk: MiniscriptKey + FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

pub fn from_tree(top: &Tree<'_>) -> Result<Descriptor<Pk>, Error>

Parse an expression tree into a descriptor

+

impl<Pk> Liftable<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn lift(&self) -> Result<Policy<Pk>, Error>

Convert the object into an abstract policy

+

impl<Pk> Ord for Descriptor<Pk> where
    Pk: Ord + MiniscriptKey, 

pub fn cmp(&self, other: &Descriptor<Pk>) -> Ordering

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl<Pk> PartialEq<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialEq<Pk> + MiniscriptKey, 

pub fn eq(&self, other: &Descriptor<Pk>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

-

pub fn ne(&self, other: &Descriptor<Pk>) -> bool

This method tests for !=.

-

impl<Pk> PartialOrd<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialOrd<Pk> + MiniscriptKey, 

pub fn partial_cmp(&self, other: &Descriptor<Pk>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

pub fn ne(&self, other: &Descriptor<Pk>) -> bool

This method tests for !=.

+

impl<Pk> PartialOrd<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialOrd<Pk> + MiniscriptKey, 

pub fn partial_cmp(&self, other: &Descriptor<Pk>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl<P, Q> TranslatePk<P, Q> for Descriptor<P> where
    P: MiniscriptKey,
    Q: MiniscriptKey, 

pub fn translate_pk<Fpk, Fpkh, E>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Result<Descriptor<Q>, E> where
    Q: MiniscriptKey,
    Fpk: FnMut(&P) -> Result<Q, E>,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, E>, 

Convert a descriptor using abstract keys to one using specific keys +

impl<P, Q> TranslatePk<P, Q> for Descriptor<P> where
    P: MiniscriptKey,
    Q: MiniscriptKey, 

pub fn translate_pk<Fpk, Fpkh, E>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Result<Descriptor<Q>, E> where
    Q: MiniscriptKey,
    Fpk: FnMut(&P) -> Result<Q, E>,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, E>, 

Convert a descriptor using abstract keys to one using specific keys This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

type Output = Descriptor<Q>

The associated output type. This must be Self

-

fn translate_pk_infallible<Fpk, Fpkh>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Self::Output where
    Fpk: FnMut(&P) -> Q,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

Calls translate_pk with conversion functions that cannot fail

-

impl<Pk> Eq for Descriptor<Pk> where
    Pk: Eq + MiniscriptKey, 

impl<Pk> StructuralEq for Descriptor<Pk> where
    Pk: MiniscriptKey, 

impl<Pk> StructuralPartialEq for Descriptor<Pk> where
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk> RefUnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk> Send for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Sync for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Unpin for Descriptor<Pk> where
    Pk: Unpin,
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk> UnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe + UnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn translate_pk_infallible<Fpk, Fpkh>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Self::Output where
    Fpk: FnMut(&P) -> Q,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

Calls translate_pk with conversion functions that cannot fail

+

impl<Pk> Eq for Descriptor<Pk> where
    Pk: Eq + MiniscriptKey, 

impl<Pk> StructuralEq for Descriptor<Pk> where
    Pk: MiniscriptKey, 

impl<Pk> StructuralPartialEq for Descriptor<Pk> where
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk> RefUnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk> Send for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Sync for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Unpin for Descriptor<Pk> where
    Pk: Unpin,
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk> UnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe + UnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<P, Q, T> TranslatePk1<P, Q> for T where
    P: MiniscriptKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<P, Q, T> TranslatePk1<P, Q> for T where
    P: MiniscriptKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the +

fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<P, Q, T> TranslatePk2<P, Q> for T where
    P: MiniscriptKey<Hash = P>,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey, 

fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: Fn(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

impl<P, Q, T> TranslatePk2<P, Q> for T where
    P: MiniscriptKey<Hash = P>,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey, 

fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: Fn(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: Fn(&P) -> Q, 

Translate a struct from one generic to another where the +

fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: Fn(&P) -> Q, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<P, Q, T> TranslatePk3<P, Q> for T where
    P: MiniscriptKey + ToPublicKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = Hash>, 

fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

impl<P, Q, T> TranslatePk3<P, Q> for T where
    P: MiniscriptKey + ToPublicKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = Hash>, 

fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the +

fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html index 57e459de07..a6bb06e9a1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html @@ -5,26 +5,26 @@ To be used as P2SH scripts For creation of Bare scriptpubkeys, construct the Miniscript under Bare ScriptContext

-

Trait Implementations

impl Clone for Legacy

pub fn clone(&self) -> Legacy

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Legacy

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

-

impl Hash for Legacy

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

-

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl Ord for Legacy

pub fn cmp(&self, other: &Legacy) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl PartialEq<Legacy> for Legacy

pub fn eq(&self, other: &Legacy) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations

impl Clone for Legacy

pub fn clone(&self) -> Legacy

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Legacy

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

+

impl Hash for Legacy

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

+

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

+

impl Ord for Legacy

pub fn cmp(&self, other: &Legacy) -> Ordering

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl PartialEq<Legacy> for Legacy

pub fn eq(&self, other: &Legacy) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

-

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl PartialOrd<Legacy> for Legacy

pub fn partial_cmp(&self, other: &Legacy) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

+

impl PartialOrd<Legacy> for Legacy

pub fn partial_cmp(&self, other: &Legacy) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, +

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -32,10 +32,10 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary. Read more

-

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext +

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100. Read more

-

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not +

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -45,17 +45,17 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments. Read more

-

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. +

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes. Read more

-

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. +

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes Read more

-

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

-

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits +

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

+

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -63,40 +63,40 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments. Read more

-

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based +

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based satisfaction Read more

-

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the +

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the ones for satisfaction Read more

-

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

-

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

-

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-

impl Eq for Legacy

impl StructuralEq for Legacy

impl StructuralPartialEq for Legacy

Auto Trait Implementations

impl RefUnwindSafe for Legacy

impl Send for Legacy

impl Sync for Legacy

impl Unpin for Legacy

impl UnwindSafe for Legacy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

-

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

-

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

+

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

+

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

+

impl Eq for Legacy

impl StructuralEq for Legacy

impl StructuralPartialEq for Legacy

Auto Trait Implementations

impl RefUnwindSafe for Legacy

impl Send for Legacy

impl Sync for Legacy

impl Unpin for Legacy

impl UnwindSafe for Legacy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

+

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

+

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html index 42d120468d..955eaaceb4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html @@ -2,26 +2,26 @@

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}
Expand description

Segwitv0 ScriptContext

-

Trait Implementations

impl Clone for Segwitv0

pub fn clone(&self) -> Segwitv0

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Segwitv0

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

-

impl Hash for Segwitv0

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

-

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl Ord for Segwitv0

pub fn cmp(&self, other: &Segwitv0) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl PartialEq<Segwitv0> for Segwitv0

pub fn eq(&self, other: &Segwitv0) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations

impl Clone for Segwitv0

pub fn clone(&self) -> Segwitv0

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Segwitv0

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

+

impl Hash for Segwitv0

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

+

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

+

impl Ord for Segwitv0

pub fn cmp(&self, other: &Segwitv0) -> Ordering

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl PartialEq<Segwitv0> for Segwitv0

pub fn eq(&self, other: &Segwitv0) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

-

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl PartialOrd<Segwitv0> for Segwitv0

pub fn partial_cmp(&self, other: &Segwitv0) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

+

impl PartialOrd<Segwitv0> for Segwitv0

pub fn partial_cmp(&self, other: &Segwitv0) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, +

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -29,10 +29,10 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary. Read more

-

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext +

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100. Read more

-

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not +

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -42,11 +42,11 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments. Read more

-

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. +

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes. Read more

-

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits +

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -54,46 +54,46 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments. Read more

-

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. +

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes Read more

-

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

-

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based +

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

+

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based satisfaction Read more

-

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the +

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the ones for satisfaction Read more

-

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

-

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

-

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-

impl Eq for Segwitv0

impl StructuralEq for Segwitv0

impl StructuralPartialEq for Segwitv0

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

-

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

-

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

+

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

+

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

+

impl Eq for Segwitv0

impl StructuralEq for Segwitv0

impl StructuralPartialEq for Segwitv0

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

+

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

+

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html index 6ba348e919..7194f6b15f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html @@ -17,52 +17,52 @@ }
Expand description

Errors related to the parsing and usage of descriptors

Variants

-
InvalidHdKeyPath
Expand description

Invalid HD Key path, such as having a wildcard but a length != 1

-
InvalidDescriptorChecksum
Expand description

The provided descriptor doesn’t match its checksum

-
HardenedDerivationXpub
Expand description

The descriptor contains hardened derivation steps on public extended keys

-
DuplicatedKeys
Expand description

The descriptor contains multiple keys with the same BIP32 fingerprint

-
Expand description

Error thrown while working with keys

-
Policy(PolicyError)
Expand description

Error while extracting and manipulating policies

-
InvalidDescriptorCharacter(char)
Expand description

Invalid character found in the descriptor checksum

-
Bip32(Error)
Expand description

BIP32 error

-
Base58(Error)
Expand description

Error during base58 decoding

-
Pk(Error)
Expand description

Key-related error

-
Miniscript(Error)
Expand description

Miniscript error

-
Hex(Error)
Expand description

Hex decoding error

-

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Display for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Error for Error[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

-

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<KeyError> for Error[src]

fn from(key_error: KeyError) -> Error[src]

Performs the conversion.

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

InvalidHdKeyPath

Invalid HD Key path, such as having a wildcard but a length != 1

+
InvalidDescriptorChecksum

The provided descriptor doesn’t match its checksum

+
HardenedDerivationXpub

The descriptor contains hardened derivation steps on public extended keys

+
DuplicatedKeys

The descriptor contains multiple keys with the same BIP32 fingerprint

+

Error thrown while working with keys

+
Policy(PolicyError)

Error while extracting and manipulating policies

+
InvalidDescriptorCharacter(char)

Invalid character found in the descriptor checksum

+
Bip32(Error)

BIP32 error

+
Base58(Error)

Error during base58 decoding

+
Pk(Error)

Key-related error

+
Miniscript(Error)

Miniscript error

+
Hex(Error)

Hex decoding error

+

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Display for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Error for Error[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

+

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

+

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

+

impl From<KeyError> for Error[src]

fn from(key_error: KeyError) -> Error[src]

Performs the conversion.

+

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

+

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html index a4931863b2..3502c5ff0f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html @@ -12,39 +12,39 @@ }
Expand description

Options to build the satisfaction field in the policy

Variants

-
None
Expand description

Don’t generate satisfaction field

-
Psbt(&'a Psbt)
Expand description

Analyze the given PSBT to check for existing signatures

-
PsbtTimelocks
Expand description

Like Psbt variant and also check for expired timelocks

-
Show fields

Fields of PsbtTimelocks

psbt: &'a Psbt
Expand description

Given PSBT

-
current_height: u32
Expand description

Current blockchain height

-
input_max_height: u32
Expand description

The highest confirmation height between the inputs +

None

Don’t generate satisfaction field

+
Psbt(&'a Psbt)

Analyze the given PSBT to check for existing signatures

+
PsbtTimelocks

Like Psbt variant and also check for expired timelocks

+
Show fields

Fields of PsbtTimelocks

psbt: &'a Psbt

Given PSBT

+
current_height: u32

Current blockchain height

+
input_max_height: u32

The highest confirmation height between the inputs CSV should consider different inputs, but we consider the worst condition for the tx as whole

-

Trait Implementations

impl<'a> Clone for BuildSatisfaction<'a>[src]

fn clone(&self) -> BuildSatisfaction<'a>[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl<'a> Debug for BuildSatisfaction<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'a> Copy for BuildSatisfaction<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BuildSatisfaction<'a>

impl<'a> Send for BuildSatisfaction<'a>

impl<'a> Sync for BuildSatisfaction<'a>

impl<'a> Unpin for BuildSatisfaction<'a>

impl<'a> UnwindSafe for BuildSatisfaction<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl<'a> Clone for BuildSatisfaction<'a>[src]

fn clone(&self) -> BuildSatisfaction<'a>[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl<'a> Debug for BuildSatisfaction<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'a> Copy for BuildSatisfaction<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BuildSatisfaction<'a>

impl<'a> Send for BuildSatisfaction<'a>

impl<'a> Sync for BuildSatisfaction<'a>

impl<'a> Unpin for BuildSatisfaction<'a>

impl<'a> UnwindSafe for BuildSatisfaction<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html index 8c1728afff..a14ca59f89 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html @@ -11,44 +11,44 @@ }
Expand description

Errors that can happen while extracting and manipulating policies

Variants

-
NotEnoughItemsSelected(String)
Expand description

Not enough items are selected to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

-
IndexOutOfRange(usize)
Expand description

Index out of range for an item to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

-
AddOnLeaf
Expand description

Can not add to an item that is Satisfaction::None or Satisfaction::Complete

-
AddOnPartialComplete
Expand description

Can not add to an item that is Satisfaction::PartialComplete

-
MixedTimelockUnits
Expand description

Can not merge CSV or timelock values unless both are less than or both are equal or greater than 500_000_000

-
IncompatibleConditions
Expand description

Incompatible conditions (not currently used)

-

Trait Implementations

impl Debug for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Display for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Error for PolicyError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

-

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

impl PartialEq<PolicyError> for PolicyError[src]

fn eq(&self, other: &PolicyError) -> bool[src]

This method tests for self and other values to be equal, and is used +

NotEnoughItemsSelected(String)

Not enough items are selected to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

+
IndexOutOfRange(usize)

Index out of range for an item to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

+
AddOnLeaf

Can not add to an item that is Satisfaction::None or Satisfaction::Complete

+
AddOnPartialComplete

Can not add to an item that is Satisfaction::PartialComplete

+
MixedTimelockUnits

Can not merge CSV or timelock values unless both are less than or both are equal or greater than 500_000_000

+
IncompatibleConditions

Incompatible conditions (not currently used)

+

Trait Implementations

impl Debug for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Display for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Error for PolicyError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

+

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

+

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

+

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

+

impl PartialEq<PolicyError> for PolicyError[src]

fn eq(&self, other: &PolicyError) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &PolicyError) -> bool[src]

This method tests for !=.

-

impl Eq for PolicyError[src]

impl StructuralEq for PolicyError[src]

impl StructuralPartialEq for PolicyError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

fn ne(&self, other: &PolicyError) -> bool[src]

This method tests for !=.

+

impl Eq for PolicyError[src]

impl StructuralEq for PolicyError[src]

impl StructuralPartialEq for PolicyError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html index c2c1075ced..1b49aa82ce 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html @@ -23,50 +23,50 @@ }
Expand description

Represent if and how much a policy item is satisfied by the wallet’s descriptor

Variants

-
Partial
Expand description

Only a partial satisfaction of some kind of threshold policy

-
Show fields

Fields of Partial

n: usize
Expand description

Total number of items

-
m: usize
Expand description

Threshold

-
items: Vec<usize>
Expand description

The items that can be satisfied by the descriptor or are satisfied in the PSBT

-
sorted: Option<bool>
Expand description

Whether the items are sorted in lexicographic order (used by sortedmulti)

-
conditions: ConditionMap
Expand description

Extra conditions that also need to be satisfied

-
PartialComplete
Expand description

Can reach the threshold of some kind of threshold policy

-
Show fields

Fields of PartialComplete

n: usize
Expand description

Total number of items

-
m: usize
Expand description

Threshold

-
items: Vec<usize>
Expand description

The items that can be satisfied by the descriptor

-
sorted: Option<bool>
Expand description

Whether the items are sorted in lexicographic order (used by sortedmulti)

-
conditions: FoldedConditionMap
Expand description

Extra conditions that also need to be satisfied

-
Complete
Expand description

Can satisfy the policy item

-
Show fields

Fields of Complete

condition: Condition
Expand description

Extra conditions that also need to be satisfied

-
None
Expand description

Cannot satisfy or contribute to the policy item

-

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

-

Trait Implementations

impl Clone for Satisfaction[src]

fn clone(&self) -> Satisfaction[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Satisfaction[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<bool> for Satisfaction[src]

fn from(other: bool) -> Self[src]

Performs the conversion.

-

impl Serialize for Satisfaction[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Partial

Only a partial satisfaction of some kind of threshold policy

+
Show fields

Fields of Partial

n: usize

Total number of items

+
m: usize

Threshold

+
items: Vec<usize>

The items that can be satisfied by the descriptor or are satisfied in the PSBT

+
sorted: Option<bool>

Whether the items are sorted in lexicographic order (used by sortedmulti)

+
conditions: ConditionMap

Extra conditions that also need to be satisfied

+
PartialComplete

Can reach the threshold of some kind of threshold policy

+
Show fields

Fields of PartialComplete

n: usize

Total number of items

+
m: usize

Threshold

+
items: Vec<usize>

The items that can be satisfied by the descriptor

+
sorted: Option<bool>

Whether the items are sorted in lexicographic order (used by sortedmulti)

+
conditions: FoldedConditionMap

Extra conditions that also need to be satisfied

+
Complete

Can satisfy the policy item

+
Show fields

Fields of Complete

condition: Condition

Extra conditions that also need to be satisfied

+
None

Cannot satisfy or contribute to the policy item

+

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

+

Trait Implementations

impl Clone for Satisfaction[src]

fn clone(&self) -> Satisfaction[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Satisfaction[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<bool> for Satisfaction[src]

fn from(other: bool) -> Self[src]

Performs the conversion.

+

impl Serialize for Satisfaction[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html index 9fe73ef05c..aab644afde 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html @@ -33,56 +33,56 @@ }
Expand description

An item that needs to be satisfied

Variants

-
Signature(PkOrF)
Expand description

Signature for a raw public key

-
SignatureKey(PkOrF)
Expand description

Signature for an extended key fingerprint

-
Sha256Preimage
Expand description

SHA256 preimage hash

-
Show fields

Fields of Sha256Preimage

hash: Hash
Expand description

The digest value

-
Hash256Preimage
Expand description

Double SHA256 preimage hash

-
Show fields

Fields of Hash256Preimage

hash: Hash
Expand description

The digest value

-
Ripemd160Preimage
Expand description

RIPEMD160 preimage hash

-
Show fields

Fields of Ripemd160Preimage

hash: Hash
Expand description

The digest value

-
Hash160Preimage
Expand description

SHA256 then RIPEMD160 preimage hash

-
Show fields

Fields of Hash160Preimage

hash: Hash
Expand description

The digest value

-
AbsoluteTimelock
Expand description

Absolute timeclock timestamp

-
Show fields

Fields of AbsoluteTimelock

value: u32
Expand description

The timestamp value

-
RelativeTimelock
Expand description

Relative timelock locktime

-
Show fields

Fields of RelativeTimelock

value: u32
Expand description

The locktime value

-
Multisig
Expand description

Multi-signature public keys with threshold count

-
Show fields

Fields of Multisig

keys: Vec<PkOrF>
Expand description

The raw public key or extended key fingerprint

-
threshold: usize
Expand description

The required threshold count

-
Thresh
Expand description

Threshold items with threshold count

-
Show fields

Fields of Thresh

items: Vec<Policy>
Expand description

The policy items

-
threshold: usize
Expand description

The required threshold count

-

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

-

pub fn id(&self) -> String[src]

Returns a unique id for the SatisfiableItem

-

Trait Implementations

impl Clone for SatisfiableItem[src]

fn clone(&self) -> SatisfiableItem[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for SatisfiableItem[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

-

impl Serialize for SatisfiableItem[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Signature(PkOrF)

Signature for a raw public key

+
SignatureKey(PkOrF)

Signature for an extended key fingerprint

+
Sha256Preimage

SHA256 preimage hash

+
Show fields

Fields of Sha256Preimage

hash: Hash

The digest value

+
Hash256Preimage

Double SHA256 preimage hash

+
Show fields

Fields of Hash256Preimage

hash: Hash

The digest value

+
Ripemd160Preimage

RIPEMD160 preimage hash

+
Show fields

Fields of Ripemd160Preimage

hash: Hash

The digest value

+
Hash160Preimage

SHA256 then RIPEMD160 preimage hash

+
Show fields

Fields of Hash160Preimage

hash: Hash

The digest value

+
AbsoluteTimelock

Absolute timeclock timestamp

+
Show fields

Fields of AbsoluteTimelock

value: u32

The timestamp value

+
RelativeTimelock

Relative timelock locktime

+
Show fields

Fields of RelativeTimelock

value: u32

The locktime value

+
Multisig

Multi-signature public keys with threshold count

+
Show fields

Fields of Multisig

keys: Vec<PkOrF>

The raw public key or extended key fingerprint

+
threshold: usize

The required threshold count

+
Thresh

Threshold items with threshold count

+
Show fields

Fields of Thresh

items: Vec<Policy>

The policy items

+
threshold: usize

The required threshold count

+

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

+

pub fn id(&self) -> String[src]

Returns a unique id for the SatisfiableItem

+

Trait Implementations

impl Clone for SatisfiableItem[src]

fn clone(&self) -> SatisfiableItem[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for SatisfiableItem[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

+

impl Serialize for SatisfiableItem[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html index a0926371eb..82f5699e4d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html @@ -6,54 +6,54 @@ pub timelock: Option<u32>, }
Expand description

An extra condition that must be satisfied but that is out of control of the user

- Fields

csv: Option<u32>
Expand description

Optional CheckSequenceVerify condition

-
timelock: Option<u32>
Expand description

Optional timelock condition

-

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

-

Trait Implementations

impl Clone for Condition[src]

fn clone(&self) -> Condition[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Condition[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for Condition[src]

fn default() -> Condition[src]

Returns the “default value” for a type. Read more

-

impl Hash for Condition[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

-

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl Ord for Condition[src]

fn cmp(&self, other: &Condition) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl PartialEq<Condition> for Condition[src]

fn eq(&self, other: &Condition) -> bool[src]

This method tests for self and other values to be equal, and is used + Fieldscsv: Option<u32>

Optional CheckSequenceVerify condition

+
timelock: Option<u32>

Optional timelock condition

+

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

+

Trait Implementations

impl Clone for Condition[src]

fn clone(&self) -> Condition[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Condition[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for Condition[src]

fn default() -> Condition[src]

Returns the “default value” for a type. Read more

+

impl Hash for Condition[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

+

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

+

impl Ord for Condition[src]

fn cmp(&self, other: &Condition) -> Ordering[src]

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl PartialEq<Condition> for Condition[src]

fn eq(&self, other: &Condition) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

fn ne(&self, other: &Condition) -> bool[src]

This method tests for !=.

-

impl PartialOrd<Condition> for Condition[src]

fn partial_cmp(&self, other: &Condition) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

fn ne(&self, other: &Condition) -> bool[src]

This method tests for !=.

+

impl PartialOrd<Condition> for Condition[src]

fn partial_cmp(&self, other: &Condition) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl Serialize for Condition[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

impl Copy for Condition[src]

impl Eq for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

impl Serialize for Condition[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

impl Copy for Condition[src]

impl Eq for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html index bd0625c1a2..09f7c287bf 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html @@ -2,34 +2,34 @@

Struct bdk::descriptor::policy::PkOrF[][src]

pub struct PkOrF { /* fields omitted */ }
Expand description

Raw public key or extended key fingerprint

-

Trait Implementations

impl Clone for PkOrF[src]

fn clone(&self) -> PkOrF[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for PkOrF[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for PkOrF[src]

fn default() -> PkOrF[src]

Returns the “default value” for a type. Read more

-

impl Serialize for PkOrF[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for PkOrF

impl Send for PkOrF

impl Sync for PkOrF

impl Unpin for PkOrF

impl UnwindSafe for PkOrF

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Clone for PkOrF[src]

fn clone(&self) -> PkOrF[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for PkOrF[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for PkOrF[src]

fn default() -> PkOrF[src]

Returns the “default value” for a type. Read more

+

impl Serialize for PkOrF[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

impl RefUnwindSafe for PkOrF

impl Send for PkOrF

impl Sync for PkOrF

impl Unpin for PkOrF

impl UnwindSafe for PkOrF

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html index 4ba60ffc08..0a2ab007df 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html @@ -8,45 +8,45 @@ pub contribution: Satisfaction, }
Expand description

Descriptor spending policy

- Fields

id: String
Expand description

Identifier for this policy node

-
item: SatisfiableItem
Expand description

Type of this policy node

-
satisfaction: Satisfaction
Expand description

How much a given PSBT already satisfies this policy node in terms of signatures

-
contribution: Satisfaction
Expand description

How the wallet’s descriptor can satisfy this policy node

-

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously + Fieldsid: String

Identifier for this policy node

+
item: SatisfiableItem

Type of this policy node

+
satisfaction: Satisfaction

How much a given PSBT already satisfies this policy node in terms of signatures

+
contribution: Satisfaction

How the wallet’s descriptor can satisfy this policy node

+

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously create a transaction

What this means is that for some spending policies the user should select which paths in the tree it intends to satisfy while signing, because the transaction must be created differently based on that.

-

pub fn get_condition(
    &self,
    path: &BTreeMap<String, Vec<usize>>
) -> Result<Condition, PolicyError>
[src]

Return the conditions that are set by the spending policy for a given path in the +

pub fn get_condition(
    &self,
    path: &BTreeMap<String, Vec<usize>>
) -> Result<Condition, PolicyError>
[src]

Return the conditions that are set by the spending policy for a given path in the policy tree

-

Trait Implementations

impl Clone for Policy[src]

fn clone(&self) -> Policy[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for Policy[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

-

impl Serialize for Policy[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for Policy

impl Send for Policy

impl Sync for Policy

impl Unpin for Policy

impl UnwindSafe for Policy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

impl Clone for Policy[src]

fn clone(&self) -> Policy[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl Debug for Policy[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

+

impl Serialize for Policy[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

impl RefUnwindSafe for Policy

impl Send for Policy

impl Sync for Policy

impl Unpin for Policy

impl UnwindSafe for Policy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html index 1208145822..a6797918c5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html @@ -3,76 +3,76 @@

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);
Expand description

Extended DescriptorPublicKey that has been derived

Derived keys are guaranteed to never contain wildcards of any kind

-

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

+

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

Panics if the key is wildcard

-

Methods from Deref<Target = DescriptorPublicKey>

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

-

pub fn full_derivation_path(&self) -> DerivationPath

Full path, from the master key

+

Methods from Deref<Target = DescriptorPublicKey>

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

+

pub fn full_derivation_path(&self) -> DerivationPath

Full path, from the master key

For wildcard keys this will return the path up to the wildcard, so you can get full paths by appending one additional derivation step, according to the wildcard type (hardened or normal)

-

pub fn is_deriveable(&self) -> bool

Whether or not the key has a wildcards

-

pub fn derive_public_key<C>(
    &self,
    secp: &Secp256k1<C>
) -> Result<PublicKey, ConversionError> where
    C: Verification, 

Computes the public key corresponding to this descriptor key

+

pub fn is_deriveable(&self) -> bool

Whether or not the key has a wildcards

+

pub fn derive_public_key<C>(
    &self,
    secp: &Secp256k1<C>
) -> Result<PublicKey, ConversionError> where
    C: Verification, 

Computes the public key corresponding to this descriptor key

Will return an error if the descriptor key has any hardened derivation steps in its path, or if the key has any wildcards.

To ensure there are no wildcards, call .derive(0) or similar; to avoid hardened derivation steps, start from a DescriptorSecretKey and call as_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

-

Trait Implementations

impl<'s> Clone for DerivedDescriptorKey<'s>[src]

fn clone(&self) -> DerivedDescriptorKey<'s>[src]

Returns a copy of the value. Read more

-

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl<'s> Debug for DerivedDescriptorKey<'s>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'s> Deref for DerivedDescriptorKey<'s>[src]

type Target = DescriptorPublicKey

The resulting type after dereferencing.

-

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

-

impl<'s> Display for DerivedDescriptorKey<'s>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl<'s> Hash for DerivedDescriptorKey<'s>[src]

fn hash<H: Hasher>(&self, state: &mut H)[src]

Feeds this value into the given Hasher. Read more

-

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl<'s> MiniscriptKey for DerivedDescriptorKey<'s>[src]

type Hash = Self

The associated Hash type with the publicKey

-

fn to_pubkeyhash(&self) -> Self::Hash[src]

Converts an object to PublicHash

-

fn is_uncompressed(&self) -> bool[src]

Check if the publicKey is uncompressed. The default +

Trait Implementations

impl<'s> Clone for DerivedDescriptorKey<'s>[src]

fn clone(&self) -> DerivedDescriptorKey<'s>[src]

Returns a copy of the value. Read more

+

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

+

impl<'s> Debug for DerivedDescriptorKey<'s>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'s> Deref for DerivedDescriptorKey<'s>[src]

type Target = DescriptorPublicKey

The resulting type after dereferencing.

+

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

+

impl<'s> Display for DerivedDescriptorKey<'s>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl<'s> Hash for DerivedDescriptorKey<'s>[src]

fn hash<H: Hasher>(&self, state: &mut H)[src]

Feeds this value into the given Hasher. Read more

+

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

+

impl<'s> MiniscriptKey for DerivedDescriptorKey<'s>[src]

type Hash = Self

The associated Hash type with the publicKey

+

fn to_pubkeyhash(&self) -> Self::Hash[src]

Converts an object to PublicHash

+

fn is_uncompressed(&self) -> bool[src]

Check if the publicKey is uncompressed. The default implementation returns false Read more

-

fn serialized_len(&self) -> usize[src]

Computes the size of a public key when serialized in a script, +

fn serialized_len(&self) -> usize[src]

Computes the size of a public key when serialized in a script, including the length bytes Read more

-

impl<'s> Ord for DerivedDescriptorKey<'s>[src]

fn cmp(&self, other: &Self) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl<'s> PartialEq<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn eq(&self, other: &Self) -> bool[src]

This method tests for self and other values to be equal, and is used +

impl<'s> Ord for DerivedDescriptorKey<'s>[src]

fn cmp(&self, other: &Self) -> Ordering[src]

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl<'s> PartialEq<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn eq(&self, other: &Self) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

-

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl<'s> PartialOrd<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

+

impl<'s> PartialOrd<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl<'s> ToPublicKey for DerivedDescriptorKey<'s>[src]

fn to_public_key(&self) -> PublicKey[src]

Converts an object to a public key

-

fn hash_to_hash160(hash: &Self::Hash) -> Hash[src]

Converts a hashed version of the public key to a hash160 hash. Read more

-

impl<'s> Eq for DerivedDescriptorKey<'s>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

-

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

-

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

-

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

impl<'s> ToPublicKey for DerivedDescriptorKey<'s>[src]

fn to_public_key(&self) -> PublicKey[src]

Converts an object to a public key

+

fn hash_to_hash160(hash: &Self::Hash) -> Hash[src]

Converts a hashed version of the public key to a hash160 hash. Read more

+

impl<'s> Eq for DerivedDescriptorKey<'s>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

+

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

+

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

+

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

+

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

+

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

+

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

+

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

+

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

+

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

+

impl<T> Same<T> for T

type Output = T

Should always be Self

+

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

+

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

+

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

+

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

+

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

+

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

+

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

+

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

+

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html index 64b961d115..85bcd291d6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html @@ -8,15 +8,15 @@ // some fields omitted }
Expand description

Top-level script AST type

- Fields

node: Terminal<Pk, Ctx>
Expand description

A node in the Abstract Syntax Tree(

-
ty: Type
Expand description

The correctness and malleability type information for the AST node

-
ext: ExtData
Expand description

Additional information helpful for extra analysis.

-

Implementations

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn requires_sig(&self) -> bool

Whether all spend paths of miniscript require a signature

-

pub fn is_non_malleable(&self) -> bool

Whether the miniscript is malleable

-

pub fn within_resource_limits(&self) -> bool

Whether the miniscript can exceed the resource limits(Opcodes, Stack limit etc)

-

pub fn has_mixed_timelocks(&self) -> bool

Whether the miniscript contains a combination of timelocks

-

pub fn has_repeated_keys(&self) -> bool

Whether the miniscript has repeated Pk or Pkh

-

pub fn sanity_check(&self) -> Result<(), AnalysisError>

Check whether the underlying Miniscript is safe under the current context + Fieldsnode: Terminal<Pk, Ctx>

A node in the Abstract Syntax Tree(

+
ty: Type

The correctness and malleability type information for the AST node

+
ext: ExtData

Additional information helpful for extra analysis.

+

Implementations

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn requires_sig(&self) -> bool

Whether all spend paths of miniscript require a signature

+

pub fn is_non_malleable(&self) -> bool

Whether the miniscript is malleable

+

pub fn within_resource_limits(&self) -> bool

Whether the miniscript can exceed the resource limits(Opcodes, Stack limit etc)

+

pub fn has_mixed_timelocks(&self) -> bool

Whether the miniscript contains a combination of timelocks

+

pub fn has_repeated_keys(&self) -> bool

Whether the miniscript has repeated Pk or Pkh

+

pub fn sanity_check(&self) -> Result<(), AnalysisError>

Check whether the underlying Miniscript is safe under the current context Lifting these polices would create a semantic representation that does not represent the underlying semantics when miniscript is spent. Signing logic may not find satisfaction even if one exists.

@@ -25,80 +25,80 @@ Use this function to check whether the guarantees of library hold. Most functions of the library like would still work, but results cannot be relied upon

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Iterator-related extensions for Miniscript

-

pub fn iter(&self) -> Iter<'_, Pk, Ctx>

Creates a new [Iter] iterator that will iterate over all Miniscript items within +

pub fn iter(&self) -> Iter<'_, Pk, Ctx>

Creates a new [Iter] iterator that will iterate over all Miniscript items within AST by traversing its branches. For the specific algorithm please see [Iter::next] function.

-

pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx>

Creates a new [PkIter] iterator that will iterate over all plain public keys (and not +

pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx>

Creates a new [PkIter] iterator that will iterate over all plain public keys (and not key hash values) present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkIter::next] function.

-

pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx>

Creates a new [PkhIter] iterator that will iterate over all public keys hashes (and not +

pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx>

Creates a new [PkhIter] iterator that will iterate over all public keys hashes (and not plain public keys) present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkhIter::next] function.

-

pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx>

Creates a new [PkPkhIter] iterator that will iterate over all plain public keys and +

pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx>

Creates a new [PkPkhIter] iterator that will iterate over all plain public keys and key hash values present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkPkhIter::next] function.

-

pub fn branches(&self) -> Vec<&Miniscript<Pk, Ctx>, Global>

Enumerates all child nodes of the current AST node (self) and returns a Vec referencing +

pub fn branches(&self) -> Vec<&Miniscript<Pk, Ctx>, Global>

Enumerates all child nodes of the current AST node (self) and returns a Vec referencing them.

-

pub fn get_nth_child(&self, n: usize) -> Option<&Miniscript<Pk, Ctx>>

Returns child node with given index, if any

-

pub fn get_leaf_pk(&self) -> Vec<Pk, Global>

Returns Vec with cloned version of all public keys from the current miniscript item, +

pub fn get_nth_child(&self, n: usize) -> Option<&Miniscript<Pk, Ctx>>

Returns child node with given index, if any

+

pub fn get_leaf_pk(&self) -> Vec<Pk, Global>

Returns Vec with cloned version of all public keys from the current miniscript item, if any. Otherwise returns an empty Vec.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public keys within AST use Miniscript::iter_pk() function, for example miniscript.iter_pubkeys().collect().

-

pub fn get_leaf_pkh(&self) -> Vec<<Pk as MiniscriptKey>::Hash, Global>

Returns Vec with hashes of all public keys from the current miniscript item, if any. +

pub fn get_leaf_pkh(&self) -> Vec<<Pk as MiniscriptKey>::Hash, Global>

Returns Vec with hashes of all public keys from the current miniscript item, if any. Otherwise returns an empty Vec.

For each public key the function computes hash; for each hash of the public key the function returns its cloned copy.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public key hashes within AST use Miniscript::iter_pkh() function, for example miniscript.iter_pubkey_hashes().collect().

-

pub fn get_leaf_pk_pkh(&self) -> Vec<PkPkh<Pk>, Global>

Returns Vec of [PkPkh] entries, representing either public keys or public key +

pub fn get_leaf_pk_pkh(&self) -> Vec<PkPkh<Pk>, Global>

Returns Vec of [PkPkh] entries, representing either public keys or public key hashes, depending on the data from the current miniscript item. If there is no public keys or hashes, the function returns an empty Vec.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public keys or hashes within AST use Miniscript::iter_pk_pkh() function, for example miniscript.iter_pubkeys_and_hashes().collect().

-

pub fn get_nth_pk(&self, n: usize) -> Option<Pk>

Returns Option::Some with cloned n’th public key from the current miniscript item, +

pub fn get_nth_pk(&self, n: usize) -> Option<Pk>

Returns Option::Some with cloned n’th public key from the current miniscript item, if any. Otherwise returns Option::None.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

pub fn get_nth_pkh(&self, n: usize) -> Option<<Pk as MiniscriptKey>::Hash>

Returns Option::Some with hash of n’th public key from the current miniscript item, +

pub fn get_nth_pkh(&self, n: usize) -> Option<<Pk as MiniscriptKey>::Hash>

Returns Option::Some with hash of n’th public key from the current miniscript item, if any. Otherwise returns Option::None.

For each public key the function computes hash; for each hash of the public key the function returns it cloned copy.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

pub fn get_nth_pk_pkh(&self, n: usize) -> Option<PkPkh<Pk>>

Returns Option::Some with hash of n’th public key or hash from the current miniscript item, +

pub fn get_nth_pk_pkh(&self, n: usize) -> Option<PkPkh<Pk>>

Returns Option::Some with hash of n’th public key or hash from the current miniscript item, if any. Otherwise returns Option::None.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_ast(t: Terminal<Pk, Ctx>) -> Result<Miniscript<Pk, Ctx>, Error>

Add type information(Type and Extdata) to Miniscript based on +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_ast(t: Terminal<Pk, Ctx>) -> Result<Miniscript<Pk, Ctx>, Error>

Add type information(Type and Extdata) to Miniscript based on AstElem fragment. Dependent on display and clone because of Error Display code of type_check.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn into_inner(self) -> Terminal<Pk, Ctx>

Extracts the AstElem representing the root of the miniscript

-

pub fn as_inner(&self) -> &Terminal<Pk, Ctx>

Get a reference to the inner AstElem representing the root of miniscript

-

impl<Ctx> Miniscript<PublicKey, Ctx> where
    Ctx: ScriptContext

pub fn parse_insane(
    script: &Script
) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse an insane(scripts don’t clear sanity checks) +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn into_inner(self) -> Terminal<Pk, Ctx>

Extracts the AstElem representing the root of the miniscript

+

pub fn as_inner(&self) -> &Terminal<Pk, Ctx>

Get a reference to the inner AstElem representing the root of miniscript

+

impl<Ctx> Miniscript<PublicKey, Ctx> where
    Ctx: ScriptContext

pub fn parse_insane(
    script: &Script
) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse an insane(scripts don’t clear sanity checks) script into a Miniscript representation. Use this to parse scripts with repeated pubkeys, timelock mixing, malleable scripts without sig or scripts that can exceed resource limits. Some of the analysis guarantees of miniscript are lost when dealing with insane scripts. In general, in a multi-party setting users should only accept sane scripts.

-

pub fn parse(script: &Script) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse a Script into Miniscript representation. +

pub fn parse(script: &Script) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse a Script into Miniscript representation. This function will fail parsing for scripts that do not clear the Miniscript::sanity_check checks. Use Miniscript::parse_insane to parse such scripts.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn encode(&self) -> Script where
    Pk: ToPublicKey, 

Encode as a Bitcoin script

-

pub fn script_size(&self) -> usize

Size, in bytes of the script-pubkey. If this Miniscript is used outside +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn encode(&self) -> Script where
    Pk: ToPublicKey, 

Encode as a Bitcoin script

+

pub fn script_size(&self) -> usize

Size, in bytes of the script-pubkey. If this Miniscript is used outside of segwit (e.g. in a bare or P2SH descriptor), this quantity should be multiplied by 4 to compute the weight.

In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_witness_elements(&self) -> Result<usize, Error>

Maximum number of witness elements used to satisfy the Miniscript +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_witness_elements(&self) -> Result<usize, Error>

Maximum number of witness elements used to satisfy the Miniscript fragment, including the witness script itself. Used to estimate the weight of the VarInt that specifies this number in a serialized transaction.

This function may returns Error when the Miniscript is impossible to satisfy

-

pub fn max_satisfaction_size(&self) -> Result<usize, Error>

Maximum size, in bytes, of a satisfying witness. For Segwit outputs +

pub fn max_satisfaction_size(&self) -> Result<usize, Error>

Maximum size, in bytes, of a satisfying witness. For Segwit outputs one_cost should be set to 2, since the number 1 requires two bytes to encode. For non-segwit outputs one_cost should be set to 1, since OP_1 is available in scriptSigs.

@@ -108,18 +108,18 @@ will handle the segwit/non-segwit technicalities for you.

All signatures are assumed to be 73 bytes in size, including the length prefix (segwit) or push opcode (pre-segwit) and sighash postfix.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_str_insane(s: &str) -> Result<Miniscript<Pk, Ctx>, Error> where
    Pk: FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

Attempt to parse an insane(scripts don’t clear sanity checks) +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_str_insane(s: &str) -> Result<Miniscript<Pk, Ctx>, Error> where
    Pk: FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

Attempt to parse an insane(scripts don’t clear sanity checks) from string into a Miniscript representation. Use this to parse scripts with repeated pubkeys, timelock mixing, malleable scripts without sig or scripts that can exceed resource limits. Some of the analysis guarantees of miniscript are lost when dealing with insane scripts. In general, in a multi-party setting users should only accept sane scripts.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn satisfy<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce non-malleable satisfying witness for the +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn satisfy<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce non-malleable satisfying witness for the witness script represented by the parse tree

-

pub fn satisfy_malleable<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce a malleable satisfying witness for the +

pub fn satisfy_malleable<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce a malleable satisfying witness for the witness script represented by the parse tree

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn lift_check(&self) -> Result<(), LiftError>

Lifting corresponds conversion of miniscript into Policy +

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn lift_check(&self) -> Result<(), LiftError>

Lifting corresponds conversion of miniscript into Policy [policy.semantic.Policy] for human readable or machine analysis. However, naively lifting miniscripts can result in incorrect interpretations that don’t correspond underlying semantics when @@ -129,93 +129,93 @@ This can occur if the miniscript contains a

  • Timelock combination
  • Contains a spend that exceeds resource limits
  • -

    Trait Implementations

    impl<Pk, Ctx> Clone for Miniscript<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> Miniscript<Pk, Ctx>

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl<Pk, Ctx> Debug for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> Display for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    Extract the spending policy

    -

    impl<Pk, Ctx> ForEachKey<Pk> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Trait Implementations

    impl<Pk, Ctx> Clone for Miniscript<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> Miniscript<Pk, Ctx>

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl<Pk, Ctx> Debug for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Pk, Ctx> Display for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    Extract the spending policy

    +

    impl<Pk, Ctx> ForEachKey<Pk> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

    -

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

    -

    impl<Pk, Ctx> FromStr for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey + FromStr,
        <Pk as MiniscriptKey>::Hash: FromStr,
        <Pk as FromStr>::Err: ToString,
        <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

    Parse a Miniscript from string and perform sanity checks +

    impl<Pk, Ctx> FromStr for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey + FromStr,
        <Pk as MiniscriptKey>::Hash: FromStr,
        <Pk as FromStr>::Err: ToString,
        <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

    Parse a Miniscript from string and perform sanity checks See Miniscript::from_str_insane to parse scripts from string that do not clear the Miniscript::sanity_check checks.

    type Err = Error

    The associated error which can be returned from parsing.

    -

    pub fn from_str(s: &str) -> Result<Miniscript<Pk, Ctx>, Error>

    Parses a string s to return a value of this type. Read more

    -

    impl<Pk, Ctx> FromTree for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey + FromStr,
        <Pk as MiniscriptKey>::Hash: FromStr,
        <Pk as FromStr>::Err: ToString,
        <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

    pub fn from_tree(top: &Tree<'_>) -> Result<Miniscript<Pk, Ctx>, Error>

    Parse an expression tree into a Miniscript. As a general rule, this +

    pub fn from_str(s: &str) -> Result<Miniscript<Pk, Ctx>, Error>

    Parses a string s to return a value of this type. Read more

    +

    impl<Pk, Ctx> FromTree for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey + FromStr,
        <Pk as MiniscriptKey>::Hash: FromStr,
        <Pk as FromStr>::Err: ToString,
        <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

    pub fn from_tree(top: &Tree<'_>) -> Result<Miniscript<Pk, Ctx>, Error>

    Parse an expression tree into a Miniscript. As a general rule, this should not be called directly; rather go through the descriptor API.

    -

    impl<Pk, Ctx> Hash for Miniscript<Pk, Ctx> where
        Ctx: Hash + ScriptContext,
        Pk: Hash + MiniscriptKey, 

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl<Pk, Ctx> Liftable<Pk> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn lift(&self) -> Result<Policy<Pk>, Error>

    Convert the object into an abstract policy

    -

    impl<Pk, Ctx> Ord for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Ord of Miniscript must depend only on node and not the type information. +

    impl<Pk, Ctx> Hash for Miniscript<Pk, Ctx> where
        Ctx: Hash + ScriptContext,
        Pk: Hash + MiniscriptKey, 

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl<Pk, Ctx> Liftable<Pk> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn lift(&self) -> Result<Policy<Pk>, Error>

    Convert the object into an abstract policy

    +

    impl<Pk, Ctx> Ord for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Ord of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

    -

    pub fn cmp(&self, other: &Miniscript<Pk, Ctx>) -> Ordering

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl<Pk, Ctx> PartialEq<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    PartialEq of Miniscript must depend only on node and not the type information. +

    pub fn cmp(&self, other: &Miniscript<Pk, Ctx>) -> Ordering

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl<Pk, Ctx> PartialEq<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    PartialEq of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

    -

    pub fn eq(&self, other: &Miniscript<Pk, Ctx>) -> bool

    This method tests for self and other values to be equal, and is used +

    pub fn eq(&self, other: &Miniscript<Pk, Ctx>) -> bool

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl<Pk, Ctx> PartialOrd<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    PartialOrd of Miniscript must depend only on node and not the type information. +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl<Pk, Ctx> PartialOrd<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    PartialOrd of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

    -

    pub fn partial_cmp(&self, other: &Miniscript<Pk, Ctx>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    pub fn partial_cmp(&self, other: &Miniscript<Pk, Ctx>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl<Pk, Q, Ctx> TranslatePk<Pk, Q> for Miniscript<Pk, Ctx> where
        Q: MiniscriptKey,
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn translate_pk<FPk, FPkh, FuncError>(
        &self,
        translatefpk: FPk,
        translatefpkh: FPkh
    ) -> Result<<Miniscript<Pk, Ctx> as TranslatePk<Pk, Q>>::Output, FuncError> where
        FPk: FnMut(&Pk) -> Result<Q, FuncError>,
        FPkh: FnMut(&<Pk as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, FuncError>, 

    This will panic if translatefpk returns an uncompressed key when +

    impl<Pk, Q, Ctx> TranslatePk<Pk, Q> for Miniscript<Pk, Ctx> where
        Q: MiniscriptKey,
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn translate_pk<FPk, FPkh, FuncError>(
        &self,
        translatefpk: FPk,
        translatefpkh: FPkh
    ) -> Result<<Miniscript<Pk, Ctx> as TranslatePk<Pk, Q>>::Output, FuncError> where
        FPk: FnMut(&Pk) -> Result<Q, FuncError>,
        FPkh: FnMut(&<Pk as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, FuncError>, 

    This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

    type Output = Miniscript<Q, Ctx>

    The associated output type. This must be Self

    -

    fn translate_pk_infallible<Fpk, Fpkh>(
        &self,
        translatefpk: Fpk,
        translatefpkh: Fpkh
    ) -> Self::Output where
        Fpk: FnMut(&P) -> Q,
        Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

    Calls translate_pk with conversion functions that cannot fail

    +

    fn translate_pk_infallible<Fpk, Fpkh>(
        &self,
        translatefpk: Fpk,
        translatefpkh: Fpkh
    ) -> Self::Output where
        Fpk: FnMut(&P) -> Q,
        Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

    Calls translate_pk with conversion functions that cannot fail

    impl<Pk, Ctx> Eq for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Eq of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

    -

    Auto Trait Implementations

    impl<Pk, Ctx> RefUnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe,
        Pk: RefUnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe

    impl<Pk, Ctx> Send for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Sync for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Unpin for Miniscript<Pk, Ctx> where
        Ctx: Unpin,
        Pk: Unpin,
        <Pk as MiniscriptKey>::Hash: Unpin

    impl<Pk, Ctx> UnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe + UnwindSafe,
        Pk: RefUnwindSafe + UnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    impl<Pk, Ctx> RefUnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe,
        Pk: RefUnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe

    impl<Pk, Ctx> Send for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Sync for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Unpin for Miniscript<Pk, Ctx> where
        Ctx: Unpin,
        Pk: Unpin,
        <Pk as MiniscriptKey>::Hash: Unpin

    impl<Pk, Ctx> UnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe + UnwindSafe,
        Pk: RefUnwindSafe + UnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<P, Q, T> TranslatePk1<P, Q> for T where
        P: MiniscriptKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

    fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<P, Q, T> TranslatePk1<P, Q> for T where
        P: MiniscriptKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

    fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the +

    fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<P, Q, T> TranslatePk2<P, Q> for T where
        P: MiniscriptKey<Hash = P>,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey, 

    fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: Fn(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    impl<P, Q, T> TranslatePk2<P, Q> for T where
        P: MiniscriptKey<Hash = P>,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey, 

    fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: Fn(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: Fn(&P) -> Q, 

    Translate a struct from one generic to another where the +

    fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: Fn(&P) -> Q, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<P, Q, T> TranslatePk3<P, Q> for T where
        P: MiniscriptKey + ToPublicKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = Hash>, 

    fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    impl<P, Q, T> TranslatePk3<P, Q> for T where
        P: MiniscriptKey + ToPublicKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = Hash>, 

    fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the +

    fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html index 5246486bcc..72bd1271ed 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html @@ -18,27 +18,27 @@ assert_eq!(wallet.get_address(New)?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx"); -

    Trait Implementations

    impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    -

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip44<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip44<K> where
        K: Send

    impl<K> Sync for Bip44<K> where
        K: Sync

    impl<K> Unpin for Bip44<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip44<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    +

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip44<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip44<K> where
        K: Send

    impl<K> Sync for Bip44<K> where
        K: Sync

    impl<K> Unpin for Bip44<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip44<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html index d607c66cf6..771abb5d0d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html @@ -21,27 +21,27 @@ for the key.

    assert_eq!(wallet.get_address(New)?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx"); -

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip44Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip44Public<K> where
        K: Send

    impl<K> Sync for Bip44Public<K> where
        K: Sync

    impl<K> Unpin for Bip44Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip44Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip44Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip44Public<K> where
        K: Send

    impl<K> Sync for Bip44Public<K> where
        K: Sync

    impl<K> Unpin for Bip44Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip44Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html index 5e35d1954f..3e41fb8fd4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html @@ -18,27 +18,27 @@ assert_eq!(wallet.get_address(New)?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr"); -

    Trait Implementations

    impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    -

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip49<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip49<K> where
        K: Send

    impl<K> Sync for Bip49<K> where
        K: Sync

    impl<K> Unpin for Bip49<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip49<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    +

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip49<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip49<K> where
        K: Send

    impl<K> Sync for Bip49<K> where
        K: Sync

    impl<K> Unpin for Bip49<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip49<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html index 54c5d5567f..cf6e29aa74 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html @@ -21,27 +21,27 @@ for the key.

    assert_eq!(wallet.get_address(New)?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr"); -

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip49Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip49Public<K> where
        K: Send

    impl<K> Sync for Bip49Public<K> where
        K: Sync

    impl<K> Unpin for Bip49Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip49Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip49Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip49Public<K> where
        K: Send

    impl<K> Sync for Bip49Public<K> where
        K: Sync

    impl<K> Unpin for Bip49Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip49Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html index d180dc137e..015c297a63 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html @@ -18,27 +18,27 @@ assert_eq!(wallet.get_address(New)?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg"); -

    Trait Implementations

    impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    -

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip84<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip84<K> where
        K: Send

    impl<K> Sync for Bip84<K> where
        K: Sync

    impl<K> Unpin for Bip84<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip84<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    +

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip84<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip84<K> where
        K: Send

    impl<K> Sync for Bip84<K> where
        K: Sync

    impl<K> Unpin for Bip84<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip84<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html index d93db57391..3d53197ea7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html @@ -21,27 +21,27 @@ for the key.

    assert_eq!(wallet.get_address(New)?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg"); -

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip84Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip84Public<K> where
        K: Send

    impl<K> Sync for Bip84Public<K> where
        K: Sync

    impl<K> Unpin for Bip84Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip84Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for Bip84Public<K> where
        K: RefUnwindSafe

    impl<K> Send for Bip84Public<K> where
        K: Send

    impl<K> Sync for Bip84Public<K> where
        K: Sync

    impl<K> Unpin for Bip84Public<K> where
        K: Unpin

    impl<K> UnwindSafe for Bip84Public<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html index 0bf401d572..168613350f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html @@ -19,27 +19,27 @@ wallet.get_address(New)?.to_string(), "mwJ8hxFYW19JLuc65RCTaP4v1rzVU8cVMT" ); -

    Trait Implementations

    impl<K: IntoDescriptorKey<Legacy>> DescriptorTemplate for P2Pkh<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    -

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Pkh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Pkh<K> where
        K: Send

    impl<K> Sync for P2Pkh<K> where
        K: Sync

    impl<K> Unpin for P2Pkh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Pkh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl<K: IntoDescriptorKey<Legacy>> DescriptorTemplate for P2Pkh<K>[src]

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    +

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Pkh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Pkh<K> where
        K: Send

    impl<K> Sync for P2Pkh<K> where
        K: Sync

    impl<K> Unpin for P2Pkh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Pkh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html index a371457340..6f2643c3a6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html @@ -19,27 +19,27 @@ wallet.get_address(New)?.to_string(), "tb1q4525hmgw265tl3drrl8jjta7ayffu6jf68ltjd" ); -

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Wpkh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Wpkh<K> where
        K: Send

    impl<K> Sync for P2Wpkh<K> where
        K: Sync

    impl<K> Unpin for P2Wpkh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Wpkh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Wpkh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Wpkh<K> where
        K: Send

    impl<K> Sync for P2Wpkh<K> where
        K: Sync

    impl<K> Unpin for P2Wpkh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Wpkh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html index d661e1bcf4..7c04ff1a62 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html @@ -19,27 +19,27 @@ wallet.get_address(New)?.to_string(), "2NB4ox5VDRw1ecUv6SnT3VQHPXveYztRqk5" ); -

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Wpkh_P2Sh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Wpkh_P2Sh<K> where
        K: Send

    impl<K> Sync for P2Wpkh_P2Sh<K> where
        K: Sync

    impl<K> Unpin for P2Wpkh_P2Sh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Wpkh_P2Sh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    impl<K> RefUnwindSafe for P2Wpkh_P2Sh<K> where
        K: RefUnwindSafe

    impl<K> Send for P2Wpkh_P2Sh<K> where
        K: Send

    impl<K> Sync for P2Wpkh_P2Sh<K> where
        K: Sync

    impl<K> Unpin for P2Wpkh_P2Sh<K> where
        K: Unpin

    impl<K> UnwindSafe for P2Wpkh_P2Sh<K> where
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html index f2dd8b246b..3562c29101 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html @@ -20,6 +20,6 @@ passed directly to the WalletOk(bdk::descriptor!(pkh(self.0))?) } } -

    Required methods

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Expand description

    Build the complete descriptor

    -

    Implementors

    +

    Required methods

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    +

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html index 6d14527922..74e189d666 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html @@ -2,6 +2,6 @@

    Type Definition bdk::descriptor::template::DescriptorTemplateOut[][src]

    type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);
    Expand description

    Type alias for the return type of DescriptorTemplate, descriptor! and others

    -

    Trait Implementations

    impl IntoWalletDescriptor for DescriptorTemplateOut[src]

    fn into_wallet_descriptor(
        self,
        _secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Convert to wallet descriptor

    +

    Trait Implementations

    impl IntoWalletDescriptor for DescriptorTemplateOut[src]

    fn into_wallet_descriptor(
        self,
        _secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Convert to wallet descriptor

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html index 5f256b4581..74347ec692 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html @@ -4,6 +4,6 @@ Change settings

    Trait bdk::descriptor::ExtractPolicy[][src]

    pub trait ExtractPolicy {
         fn extract_policy(
            &self,
            signers: &SignersContainer,
            psbt: BuildSatisfaction<'_>,
            secp: &Secp256k1<All>
        ) -> Result<Option<Policy>, DescriptorError>; }
    Expand description

    Trait implemented on Descriptors to add a method to extract the spending policy

    -

    Required methods

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        psbt: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, DescriptorError>
    [src]

    Expand description

    Extract the spending policy

    -

    Implementors

    impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    +

    Required methods

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        psbt: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, DescriptorError>
    [src]

    Extract the spending policy

    +

    Implementors

    impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

    fn extract_policy(
        &self,
        signers: &SignersContainer,
        build_sat: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, Error>
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html index 281c68ba1d..f1786b1117 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html @@ -4,8 +4,8 @@ Change settings

    Trait bdk::descriptor::IntoWalletDescriptor[][src]

    pub trait IntoWalletDescriptor {
         fn into_wallet_descriptor(
            self,
            secp: &Secp256k1<All>,
            network: Network
        ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; }
    Expand description

    Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]

    -

    Required methods

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Expand description

    Convert to wallet descriptor

    -

    Implementations on Foreign Types

    impl IntoWalletDescriptor for &str[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for &String[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Implementors

    impl IntoWalletDescriptor for DescriptorTemplateOut[src]

    fn into_wallet_descriptor(
        self,
        _secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for ExtendedDescriptor[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

    Turns a DescriptorTemplate into a valid wallet descriptor by calling its +

    Required methods

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Convert to wallet descriptor

    +

    Implementations on Foreign Types

    impl IntoWalletDescriptor for &str[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for &String[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Implementors

    impl IntoWalletDescriptor for DescriptorTemplateOut[src]

    fn into_wallet_descriptor(
        self,
        _secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl IntoWalletDescriptor for ExtendedDescriptor[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

    Turns a DescriptorTemplate into a valid wallet descriptor by calling its build method

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html index 55d6bb2dd1..38b0296c2d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html @@ -29,7 +29,7 @@ miniscript that is used for carrying out checks that dependent on the context under which the script is used. For example, disallowing uncompressed keys in Segwit context

    -

    Required methods

    fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on ScriptContext, fragments can be malleable. For Example, +

    Required methods

    fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -37,11 +37,11 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary.

    -

    fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script context, the size of a satifaction witness may slightly differ.

    -

    Provided methods

    fn check_witness<Pk, Ctx>(
        _witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check whether the given satisfaction is valid under the ScriptContext +

    fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script context, the size of a satifaction witness may slightly differ.

    +

    Provided methods

    fn check_witness<Pk, Ctx>(
        _witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100.

    -

    fn check_global_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script Context, some of the Terminals might not +

    fn check_global_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -51,7 +51,7 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

    -

    fn check_global_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script Context, some of the script resource limits +

    fn check_global_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -59,21 +59,21 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

    -

    fn check_local_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Consensus rules at the Miniscript satisfaction time. +

    fn check_local_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes.

    -

    fn check_local_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Policy rules at the Miniscript satisfaction time. +

    fn check_local_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes

    -

    fn check_global_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check the consensus + policy(if not disabled) rules that are not based +

    fn check_global_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check the consensus + policy(if not disabled) rules that are not based satisfaction

    -

    fn check_local_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check the consensus + policy(if not disabled) rules including the +

    fn check_local_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check the consensus + policy(if not disabled) rules including the ones for satisfaction

    -

    fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check whether the top-level is type B

    -

    fn other_top_level_checks<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Other top level checks that are context specific

    -

    fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check top level consensus rules.

    -

    Implementations on Foreign Types

    impl ScriptContext for BareCtx

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn other_top_level_checks<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Implementors

    impl ScriptContext for Legacy

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl ScriptContext for Segwitv0

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    +

    fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check whether the top-level is type B

    +

    fn other_top_level_checks<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Other top level checks that are context specific

    +

    fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check top level consensus rules.

    +

    Implementations on Foreign Types

    impl ScriptContext for BareCtx

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn other_top_level_checks<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Implementors

    impl ScriptContext for Legacy

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl ScriptContext for Segwitv0

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html index eeb0ac36c4..4ebe186463 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html @@ -2,6 +2,6 @@

    Type Definition bdk::descriptor::ExtendedDescriptor[][src]

    type ExtendedDescriptor = Descriptor<DescriptorPublicKey>;
    Expand description

    Alias for a Descriptor that can contain extended keys using DescriptorPublicKey

    -

    Trait Implementations

    impl IntoWalletDescriptor for ExtendedDescriptor[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Convert to wallet descriptor

    +

    Trait Implementations

    impl IntoWalletDescriptor for ExtendedDescriptor[src]

    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
    [src]

    Convert to wallet descriptor

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html index d7ef1496c0..8c617f6062 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html @@ -51,96 +51,96 @@ }
    Expand description

    Errors that can be thrown by the Wallet

    Variants

    -
    InvalidU32Bytes(Vec<u8>)
    Expand description

    Wrong number of bytes found when trying to convert to u32

    -
    Generic(String)
    Expand description

    Generic error

    -
    ScriptDoesntHaveAddressForm
    Expand description

    This error is thrown when trying to convert Bare and Public key script to address

    -
    SingleRecipientMultipleOutputs
    Expand description

    Found multiple outputs when single_recipient option has been specified

    -
    SingleRecipientNoInputs
    Expand description

    single_recipient option is selected but neither drain_wallet nor manually_selected_only are

    -
    NoRecipients
    Expand description

    Cannot build a tx without recipients

    -
    NoUtxosSelected
    Expand description

    manually_selected_only option is selected but no utxo has been passed

    -
    OutputBelowDustLimit(usize)
    Expand description

    Output created is under the dust limit, 546 satoshis

    -
    InsufficientFunds
    Expand description

    Wallet’s UTXO set is not enough to cover recipient’s requested plus fee

    -
    Show fields

    Fields of InsufficientFunds

    needed: u64
    Expand description

    Sats needed for some transaction

    -
    available: u64
    Expand description

    Sats available for spending

    -
    BnBTotalTriesExceeded
    Expand description

    Branch and bound coin selection possible attempts with sufficiently big UTXO set could grow +

    InvalidU32Bytes(Vec<u8>)

    Wrong number of bytes found when trying to convert to u32

    +
    Generic(String)

    Generic error

    +
    ScriptDoesntHaveAddressForm

    This error is thrown when trying to convert Bare and Public key script to address

    +
    SingleRecipientMultipleOutputs

    Found multiple outputs when single_recipient option has been specified

    +
    SingleRecipientNoInputs

    single_recipient option is selected but neither drain_wallet nor manually_selected_only are

    +
    NoRecipients

    Cannot build a tx without recipients

    +
    NoUtxosSelected

    manually_selected_only option is selected but no utxo has been passed

    +
    OutputBelowDustLimit(usize)

    Output created is under the dust limit, 546 satoshis

    +
    InsufficientFunds

    Wallet’s UTXO set is not enough to cover recipient’s requested plus fee

    +
    Show fields

    Fields of InsufficientFunds

    needed: u64

    Sats needed for some transaction

    +
    available: u64

    Sats available for spending

    +
    BnBTotalTriesExceeded

    Branch and bound coin selection possible attempts with sufficiently big UTXO set could grow exponentially, thus a limit is set, and when hit, this error is thrown

    -
    BnBNoExactMatch
    Expand description

    Branch and bound coin selection tries to avoid needing a change by finding the right inputs for +

    BnBNoExactMatch

    Branch and bound coin selection tries to avoid needing a change by finding the right inputs for the desired outputs plus fee, if there is not such combination this error is thrown

    -
    UnknownUtxo
    Expand description

    Happens when trying to spend an UTXO that is not in the internal database

    -
    TransactionNotFound
    Expand description

    Thrown when a tx is not found in the internal database

    -
    TransactionConfirmed
    Expand description

    Happens when trying to bump a transaction that is already confirmed

    -
    IrreplaceableTransaction
    Expand description

    Trying to replace a tx that has a sequence >= 0xFFFFFFFE

    -
    FeeRateTooLow
    Expand description

    When bumping a tx the fee rate requested is lower than required

    -
    Show fields

    Fields of FeeRateTooLow

    required: FeeRate
    Expand description

    Required fee rate (satoshi/vbyte)

    -
    FeeTooLow
    Expand description

    When bumping a tx the absolute fee requested is lower than replaced tx absolute fee

    -
    Show fields

    Fields of FeeTooLow

    required: u64
    Expand description

    Required fee absolute value (satoshi)

    -
    MissingKeyOrigin(String)
    Expand description

    In order to use the TxBuilder::add_global_xpubs option every extended +

    UnknownUtxo

    Happens when trying to spend an UTXO that is not in the internal database

    +
    TransactionNotFound

    Thrown when a tx is not found in the internal database

    +
    TransactionConfirmed

    Happens when trying to bump a transaction that is already confirmed

    +
    IrreplaceableTransaction

    Trying to replace a tx that has a sequence >= 0xFFFFFFFE

    +
    FeeRateTooLow

    When bumping a tx the fee rate requested is lower than required

    +
    Show fields

    Fields of FeeRateTooLow

    required: FeeRate

    Required fee rate (satoshi/vbyte)

    +
    FeeTooLow

    When bumping a tx the absolute fee requested is lower than replaced tx absolute fee

    +
    Show fields

    Fields of FeeTooLow

    required: u64

    Required fee absolute value (satoshi)

    +
    MissingKeyOrigin(String)

    In order to use the TxBuilder::add_global_xpubs option every extended key in the descriptor must either be a master key itself (having depth = 0) or have an explicit origin provided

    -
    Expand description

    Error while working with keys

    -
    ChecksumMismatch
    Expand description

    Descriptor checksum mismatch

    -
    SpendingPolicyRequired(KeychainKind)
    Expand description

    Spending policy is not compatible with this KeychainKind

    -
    InvalidPolicyPathError(PolicyError)
    Expand description

    Error while extracting and manipulating policies

    -
    Signer(SignerError)
    Expand description

    Signing error

    -
    InvalidProgressValue(f32)
    Expand description

    Progress value must be between 0.0 (included) and 100.0 (included)

    -
    ProgressUpdateError
    Expand description

    Progress update error (maybe the channel has been closed)

    -
    InvalidOutpoint(OutPoint)
    Expand description

    Requested outpoint doesn’t exist in the tx (vout greater than available outputs)

    -
    Descriptor(Error)
    Expand description

    Error related to the parsing and usage of descriptors

    -
    AddressValidator(AddressValidatorError)
    Expand description

    Error that can be returned to fail the validation of an address

    -
    Encode(Error)
    Expand description

    Encoding error

    -
    Miniscript(Error)
    Expand description

    Miniscript error

    -
    Bip32(Error)
    Expand description

    BIP32 error

    -
    Secp256k1(Error)
    Expand description

    An ECDSA error

    -
    Json(Error)
    Expand description

    Error serializing or deserializing JSON data

    -
    Hex(Error)
    Expand description

    Hex decoding error

    -
    Psbt(Error)
    Expand description

    Partially signed bitcoin transaction error

    -
    Electrum(Error)
    Expand description

    Electrum client error

    -
    Esplora(EsploraError)
    Expand description

    Esplora client error

    -
    CompactFilters(CompactFiltersError)
    Expand description

    Compact filters client error)

    -
    Sled(Error)
    Expand description

    Sled database error

    -

    Trait Implementations

    impl Debug for Error[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Display for Error[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Error for Error[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    -

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    -

    impl From<CompactFiltersError> for Error[src]

    fn from(other: CompactFiltersError) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for CompactFiltersError[src]

    This is supported on crate feature compact_filters only.

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<EsploraError> for Error[src]

    fn from(err: EsploraError) -> Self[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    impl From<PolicyError> for Error[src]

    fn from(err: PolicyError) -> Self[src]

    Performs the conversion.

    -

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    impl !RefUnwindSafe for Error

    impl Send for Error

    impl Sync for Error

    impl Unpin for Error

    impl !UnwindSafe for Error

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Error while working with keys

    +
    ChecksumMismatch

    Descriptor checksum mismatch

    +
    SpendingPolicyRequired(KeychainKind)

    Spending policy is not compatible with this KeychainKind

    +
    InvalidPolicyPathError(PolicyError)

    Error while extracting and manipulating policies

    +
    Signer(SignerError)

    Signing error

    +
    InvalidProgressValue(f32)

    Progress value must be between 0.0 (included) and 100.0 (included)

    +
    ProgressUpdateError

    Progress update error (maybe the channel has been closed)

    +
    InvalidOutpoint(OutPoint)

    Requested outpoint doesn’t exist in the tx (vout greater than available outputs)

    +
    Descriptor(Error)

    Error related to the parsing and usage of descriptors

    +
    AddressValidator(AddressValidatorError)

    Error that can be returned to fail the validation of an address

    +
    Encode(Error)

    Encoding error

    +
    Miniscript(Error)

    Miniscript error

    +
    Bip32(Error)

    BIP32 error

    +
    Secp256k1(Error)

    An ECDSA error

    +
    Json(Error)

    Error serializing or deserializing JSON data

    +
    Hex(Error)

    Hex decoding error

    +
    Psbt(Error)

    Partially signed bitcoin transaction error

    +
    Electrum(Error)

    Electrum client error

    +
    Esplora(EsploraError)

    Esplora client error

    +
    CompactFilters(CompactFiltersError)

    Compact filters client error)

    +
    Sled(Error)

    Sled database error

    +

    Trait Implementations

    impl Debug for Error[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Display for Error[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Error for Error[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    +

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    +

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    +

    impl From<CompactFiltersError> for Error[src]

    fn from(other: CompactFiltersError) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for CompactFiltersError[src]

    This is supported on crate feature compact_filters only.

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<EsploraError> for Error[src]

    fn from(err: EsploraError) -> Self[src]

    Performs the conversion.

    +

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    +

    impl From<PolicyError> for Error[src]

    fn from(err: PolicyError) -> Self[src]

    Performs the conversion.

    +

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    +

    Auto Trait Implementations

    impl !RefUnwindSafe for Error

    impl Send for Error

    impl Sync for Error

    impl Unpin for Error

    impl !UnwindSafe for Error

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html index 2ef9716d06..4533ff0215 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html @@ -7,50 +7,50 @@ }
    Expand description

    Types of keychains

    Variants

    -
    External
    Expand description

    External

    -
    Internal
    Expand description

    Internal, usually used for change outputs

    -

    Implementations

    impl KeychainKind[src]

    pub fn as_byte(&self) -> u8[src]

    Return KeychainKind as a byte

    -

    Trait Implementations

    impl AsRef<[u8]> for KeychainKind[src]

    fn as_ref(&self) -> &[u8][src]

    Performs the conversion.

    -

    impl Clone for KeychainKind[src]

    fn clone(&self) -> KeychainKind[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for KeychainKind[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl<'de> Deserialize<'de> for KeychainKind[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    -

    impl Hash for KeychainKind[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl PartialEq<KeychainKind> for KeychainKind[src]

    fn eq(&self, other: &KeychainKind) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    External

    External

    +
    Internal

    Internal, usually used for change outputs

    +

    Implementations

    impl KeychainKind[src]

    pub fn as_byte(&self) -> u8[src]

    Return KeychainKind as a byte

    +

    Trait Implementations

    impl AsRef<[u8]> for KeychainKind[src]

    fn as_ref(&self) -> &[u8][src]

    Performs the conversion.

    +

    impl Clone for KeychainKind[src]

    fn clone(&self) -> KeychainKind[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for KeychainKind[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl<'de> Deserialize<'de> for KeychainKind[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    +

    impl Hash for KeychainKind[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl PartialEq<KeychainKind> for KeychainKind[src]

    fn eq(&self, other: &KeychainKind) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl Serialize for KeychainKind[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    -

    impl Copy for KeychainKind[src]

    impl Eq for KeychainKind[src]

    impl StructuralEq for KeychainKind[src]

    impl StructuralPartialEq for KeychainKind[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    -

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl Serialize for KeychainKind[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    +

    impl Copy for KeychainKind[src]

    impl Eq for KeychainKind[src]

    impl StructuralEq for KeychainKind[src]

    impl StructuralPartialEq for KeychainKind[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    +

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more

    -

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html index 2380d6e57f..638ac04dcc 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html @@ -10,41 +10,41 @@ }
    Expand description

    An unspent transaction output (UTXO).

    Variants

    -
    Local(LocalUtxo)
    Expand description

    A UTXO owned by the local wallet.

    -
    Foreign
    Expand description

    A UTXO owned by another wallet.

    -
    Show fields

    Fields of Foreign

    outpoint: OutPoint
    Expand description

    The location of the output.

    -
    psbt_input: Box<Input>
    Expand description

    The information about the input we require to add it to a PSBT.

    -

    Implementations

    impl Utxo[src]

    pub fn outpoint(&self) -> OutPoint[src]

    Get the location of the UTXO

    -

    pub fn txout(&self) -> &TxOut[src]

    Get the TxOut of the UTXO

    -

    Trait Implementations

    impl Clone for Utxo[src]

    fn clone(&self) -> Utxo[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for Utxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<Utxo> for Utxo[src]

    fn eq(&self, other: &Utxo) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Local(LocalUtxo)

    A UTXO owned by the local wallet.

    +
    Foreign

    A UTXO owned by another wallet.

    +
    Show fields

    Fields of Foreign

    outpoint: OutPoint

    The location of the output.

    +
    psbt_input: Box<Input>

    The information about the input we require to add it to a PSBT.

    +

    Implementations

    impl Utxo[src]

    pub fn outpoint(&self) -> OutPoint[src]

    Get the location of the UTXO

    +

    pub fn txout(&self) -> &TxOut[src]

    Get the TxOut of the UTXO

    +

    Trait Implementations

    impl Clone for Utxo[src]

    fn clone(&self) -> Utxo[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for Utxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl PartialEq<Utxo> for Utxo[src]

    fn eq(&self, other: &Utxo) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &Utxo) -> bool[src]

    This method tests for !=.

    -

    impl StructuralPartialEq for Utxo[src]

    Auto Trait Implementations

    impl RefUnwindSafe for Utxo

    impl Send for Utxo

    impl Sync for Utxo

    impl Unpin for Utxo

    impl UnwindSafe for Utxo

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    fn ne(&self, other: &Utxo) -> bool[src]

    This method tests for !=.

    +

    impl StructuralPartialEq for Utxo[src]

    Auto Trait Implementations

    impl RefUnwindSafe for Utxo

    impl Send for Utxo

    impl Sync for Utxo

    impl Unpin for Utxo

    impl UnwindSafe for Utxo

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html index de1e2e0bf3..355986d9a2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html @@ -1,6 +1,6 @@ version in bdk - Rust

    Function bdk::version[][src]

    pub fn version() -> &'static str
    Expand description

    Get the version of BDK at runtime

    + Change settings

    Function bdk::version[][src]

    pub fn version() -> &'static str
    Expand description

    Get the version of BDK at runtime

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/index.html b/static/docs-rs/bdk/nightly/latest/bdk/index.html index dff7368ff9..32feaed14e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/index.html @@ -1,7 +1,7 @@ bdk - Rust

    Crate bdk[][src]

    Expand description

    A modern, lightweight, descriptor-based wallet library written in Rust.

    + Change settings

    Crate bdk[][src]

    Expand description

    A modern, lightweight, descriptor-based wallet library written in Rust.

    About

    The BDK library aims to be the core building block for Bitcoin wallets of any kind.

      diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html index fa4302032a..5e14ab4296 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html @@ -16,44 +16,44 @@ determines the binary value of each word when a Variants -
      English
      ChineseSimplified
      ChineseTraditional
      French
      Italian
      Japanese
      Korean
      Spanish

      Implementations

      impl Language

      pub fn from_language_code(language_code: &str) -> Option<Language>

      Construct a word list from its language code. Returns None +

      English
      ChineseSimplified
      ChineseTraditional
      French
      Italian
      Japanese
      Korean
      Spanish

      Implementations

      impl Language

      pub fn from_language_code(language_code: &str) -> Option<Language>

      Construct a word list from its language code. Returns None if the language code is not valid or not supported.

      -

      pub fn wordlist(&self) -> &'static WordList

      Get the word list for this language

      -

      pub fn wordmap(&self) -> &'static WordMap

      Get a [WordMap][WordMap] that allows word -> index lookups in the word list

      +

      pub fn wordlist(&self) -> &'static WordList

      Get the word list for this language

      +

      pub fn wordmap(&self) -> &'static WordMap

      Get a [WordMap][WordMap] that allows word -> index lookups in the word list

      The index of an individual word in the word list is used as the binary value of that word when the phrase is turned into a [Seed][Seed].

      -

      Trait Implementations

      impl Clone for Language

      pub fn clone(&self) -> Language

      Returns a copy of the value. Read more

      -

      fn clone_from(&mut self, source: &Self)1.0.0[src]

      Performs copy-assignment from source. Read more

      -

      impl Debug for Language

      pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

      Formats the value using the given formatter. Read more

      -

      impl Default for Language

      pub fn default() -> Language

      Returns the “default value” for a type. Read more

      -

    impl PartialEq<Language> for Language

    pub fn eq(&self, other: &Language) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    impl Clone for Language

    pub fn clone(&self) -> Language

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for Language

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Default for Language

    pub fn default() -> Language

    Returns the “default value” for a type. Read more

    +

    impl PartialEq<Language> for Language

    pub fn eq(&self, other: &Language) -> bool

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl Zeroize for Language

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl Zeroize for Language

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

    -

    impl Copy for Language

    impl StructuralPartialEq for Language

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Copy for Language

    impl StructuralPartialEq for Language

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html index 3880ded902..3b4f75c243 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html @@ -24,7 +24,7 @@ passing arbitrary usize values:

    let mnemonic_type = MnemonicType::for_key_size(128).unwrap();

    Variants

    -
    Words12
    Words15
    Words18
    Words21
    Words24

    Implementations

    impl MnemonicType

    pub fn for_word_count(size: usize) -> Result<MnemonicType, Error>

    Get a MnemonicType for a mnemonic phrase with a specific number of words

    +
    Words12
    Words15
    Words18
    Words21
    Words24

    Implementations

    impl MnemonicType

    pub fn for_word_count(size: usize) -> Result<MnemonicType, Error>

    Get a MnemonicType for a mnemonic phrase with a specific number of words

    Specifying a word count not provided for by the BIP39 standard will return an Error of kind ErrorKind::InvalidWordLength.

    Example

    @@ -32,7 +32,7 @@ of kind ErrorKind::InvalidWordLength.

    use bip39::{MnemonicType}; let mnemonic_type = MnemonicType::for_word_count(12).unwrap();
    -

    pub fn for_key_size(size: usize) -> Result<MnemonicType, Error>

    Get a MnemonicType for a mnemonic phrase representing the given key size as bits

    +

    pub fn for_key_size(size: usize) -> Result<MnemonicType, Error>

    Get a MnemonicType for a mnemonic phrase representing the given key size as bits

    Specifying a key size not provided for by the BIP39 standard will return an Error of kind ErrorKind::InvalidKeysize.

    Example

    @@ -40,7 +40,7 @@ of kind ErrorKind::InvalidKeysize.

    use bip39::{MnemonicType}; let mnemonic_type = MnemonicType::for_key_size(128).unwrap();
    -

    pub fn for_phrase(phrase: &str) -> Result<MnemonicType, Error>

    Get a MnemonicType for an existing mnemonic phrase

    +

    pub fn for_phrase(phrase: &str) -> Result<MnemonicType, Error>

    Get a MnemonicType for an existing mnemonic phrase

    This can be used when you need information about a mnemonic phrase based on the number of words, for example you can get the entropy value using MnemonicType::entropy_bits.

    Specifying a phrase that does not match one of the standard BIP39 phrase lengths will return @@ -55,7 +55,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let entropy_bits = mnemonic_type.entropy_bits();
    -

    pub fn total_bits(&self) -> usize

    Return the number of entropy+checksum bits

    +

    pub fn total_bits(&self) -> usize

    Return the number of entropy+checksum bits

    Example

     use bip39::{MnemonicType};
    @@ -65,7 +65,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let total_bits = mnemonic_type.total_bits();
    -

    pub fn entropy_bits(&self) -> usize

    Return the number of entropy bits

    +

    pub fn entropy_bits(&self) -> usize

    Return the number of entropy bits

    Example

     use bip39::{MnemonicType};
    @@ -75,7 +75,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let entropy_bits = mnemonic_type.entropy_bits();
    -

    pub fn checksum_bits(&self) -> u8

    Return the number of checksum bits

    +

    pub fn checksum_bits(&self) -> u8

    Return the number of checksum bits

    Example

     use bip39::{MnemonicType};
    @@ -85,7 +85,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let checksum_bits = mnemonic_type.checksum_bits();
    -

    pub fn word_count(&self) -> usize

    Return the number of words

    +

    pub fn word_count(&self) -> usize

    Return the number of words

    Example

     use bip39::{MnemonicType};
    @@ -93,35 +93,35 @@ other way.

    let mnemonic_type = MnemonicType::Words12; let word_count = mnemonic_type.word_count();
    -

    Trait Implementations

    impl Clone for MnemonicType

    pub fn clone(&self) -> MnemonicType

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for MnemonicType

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Default for MnemonicType

    pub fn default() -> MnemonicType

    Returns the “default value” for a type. Read more

    -

    impl Display for MnemonicType

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Copy for MnemonicType

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Clone for MnemonicType

    pub fn clone(&self) -> MnemonicType

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for MnemonicType

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Default for MnemonicType

    pub fn default() -> MnemonicType

    Returns the “default value” for a type. Read more

    +

    impl Display for MnemonicType

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Copy for MnemonicType

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html index 13e102d0a8..a5c5566bc5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html @@ -12,7 +12,7 @@ representation using Rust formatting: format!("{:X}", seed)not the same thing as an HD wallet seed, and should never be used that way.

    Mnemonic implements Zeroize, so it’s bytes will be zeroed when it’s dropped.

    -

    Implementations

    impl Mnemonic

    pub fn new(mtype: MnemonicType, lang: Language) -> Mnemonic

    Generates a new Mnemonic

    +

    Implementations

    impl Mnemonic

    pub fn new(mtype: MnemonicType, lang: Language) -> Mnemonic

    Generates a new Mnemonic

    Use Mnemonic::phrase() to get an str slice of the generated phrase.

    Example

    @@ -24,7 +24,7 @@ but beware that the entropy value is not the same thing as an H
     println!("phrase: {}", phrase);
     
     assert_eq!(phrase.split(" ").count(), 12);
    -

    pub fn from_entropy(entropy: &[u8], lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from pre-generated entropy

    +

    pub fn from_entropy(entropy: &[u8], lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from pre-generated entropy

    Example

     use bip39::{Mnemonic, MnemonicType, Language};
    @@ -34,7 +34,7 @@ but beware that the entropy value is not the same thing as an H
     
     assert_eq!("crop cash unable insane eight faith inflict route frame loud box vibrant", mnemonic.phrase());
     assert_eq!("33E46BB13A746EA41CDDE45C90846A79", format!("{:X}", mnemonic));
    -

    pub fn from_phrase(phrase: &str, lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from an existing mnemonic phrase

    +

    pub fn from_phrase(phrase: &str, lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from an existing mnemonic phrase

    The phrase supplied will be checked for word length and validated according to the checksum specified in BIP0039

    Example

    @@ -45,7 +45,7 @@ specified in BIP0039

    let mnemonic = Mnemonic::from_phrase(phrase, Language::English).unwrap(); assert_eq!(phrase, mnemonic.phrase());
    -

    pub fn validate(phrase: &str, lang: Language) -> Result<(), Error>

    Validate a mnemonic phrase

    +

    pub fn validate(phrase: &str, lang: Language) -> Result<(), Error>

    Validate a mnemonic phrase

    The phrase supplied will be checked for word length and validated according to the checksum specified in BIP0039.

    Example

    @@ -55,9 +55,9 @@ specified in BIP0039.

    let test_mnemonic = "park remain person kitchen mule spell knee armed position rail grid ankle"; assert!(Mnemonic::validate(test_mnemonic, Language::English).is_ok());
    -

    pub fn phrase(&self) -> &str

    Get the mnemonic phrase as a string reference.

    -

    pub fn into_phrase(self) -> String

    Consume the Mnemonic and return the phrase as a String.

    -

    pub fn entropy(&self) -> &[u8]

    Get the original entropy value of the mnemonic phrase as a slice.

    +

    pub fn phrase(&self) -> &str

    Get the mnemonic phrase as a string reference.

    +

    pub fn into_phrase(self) -> String

    Consume the Mnemonic and return the phrase as a String.

    +

    pub fn entropy(&self) -> &[u8]

    Get the original entropy value of the mnemonic phrase as a slice.

    Example

     use bip39::{Mnemonic, Language};
    @@ -69,50 +69,50 @@ specified in BIP0039.

    let entropy: &[u8] = mnemonic.entropy();

    Note: You shouldn’t use the generated entropy as secrets, for that generate a new Seed from the Mnemonic.

    -

    pub fn language(&self) -> Language

    Get the Language

    -

    Trait Implementations

    impl AsRef<str> for Mnemonic

    pub fn as_ref(&self) -> &str

    Performs the conversion.

    -

    impl Clone for Mnemonic

    pub fn clone(&self) -> Mnemonic

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    -

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    pub fn language(&self) -> Language

    Get the Language

    +

    Trait Implementations

    impl AsRef<str> for Mnemonic

    pub fn as_ref(&self) -> &str

    Performs the conversion.

    +

    impl Clone for Mnemonic

    pub fn clone(&self) -> Mnemonic

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    +

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl Display for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Drop for Mnemonic

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    -

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

    type Entropy = [u8; 32]

    Type specifying the amount of entropy required e.g. [u8;32]

    +

    impl Display for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Drop for Mnemonic

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    +

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

    type Entropy = [u8; 32]

    Type specifying the amount of entropy required e.g. [u8;32]

    type Options = (MnemonicType, Language)

    Extra options required by the generate_with_entropy

    type Error = Option<ErrorKind>

    Returned error in case of failure

    -

    fn generate_with_entropy(
        (mnemonic_type, language): Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the extra options and the entropy

    -

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the options with a random entropy

    -

    impl LowerHex for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    -

    impl UpperHex for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    -

    impl Zeroize for Mnemonic

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    fn generate_with_entropy(
        (mnemonic_type, language): Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the extra options and the entropy

    +

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the options with a random entropy

    +

    impl LowerHex for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    +

    impl UpperHex for Mnemonic

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    +

    impl Zeroize for Mnemonic

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html index fa6b657dd7..fa648b76b9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html @@ -9,50 +9,50 @@ a valid, intact mnemonic phrase can be used to derive HD wallet addresses.

    HD wallet addresses using another crate (deriving HD wallet addresses is outside the scope of this crate and the BIP39 standard).

    Seed implements Zeroize, so it’s bytes will be zeroed when it’s dropped.

    -

    Implementations

    impl Seed

    pub fn new(mnemonic: &Mnemonic, password: &str) -> Seed

    Generates the seed from the Mnemonic and the password.

    -

    pub fn as_bytes(&self) -> &[u8]

    Get the seed value as a byte slice

    -

    Trait Implementations

    impl AsRef<[u8]> for Seed

    pub fn as_ref(&self) -> &[u8]

    Performs the conversion.

    -

    impl Clone for Seed

    pub fn clone(&self) -> Seed

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    -

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    Implementations

    impl Seed

    pub fn new(mnemonic: &Mnemonic, password: &str) -> Seed

    Generates the seed from the Mnemonic and the password.

    +

    pub fn as_bytes(&self) -> &[u8]

    Get the seed value as a byte slice

    +

    Trait Implementations

    impl AsRef<[u8]> for Seed

    pub fn as_ref(&self) -> &[u8]

    Performs the conversion.

    +

    impl Clone for Seed

    pub fn clone(&self) -> Seed

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    +

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl Drop for Seed

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    -

    impl LowerHex for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    -

    impl UpperHex for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    -

    impl Zeroize for Seed

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    impl Drop for Seed

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    +

    impl LowerHex for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    +

    impl UpperHex for Seed

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter.

    +

    impl Zeroize for Seed

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

    -

    Auto Trait Implementations

    impl RefUnwindSafe for Seed

    impl Send for Seed

    impl Sync for Seed

    impl Unpin for Seed

    impl UnwindSafe for Seed

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    -

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    impl RefUnwindSafe for Seed

    impl Send for Seed

    impl Sync for Seed

    impl Unpin for Seed

    impl UnwindSafe for Seed

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    +

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more

    -

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    -

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    +

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html index 8fa449cab7..0623ba2c11 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html @@ -2,8 +2,8 @@

    Type Definition bdk::keys::bip39::MnemonicWithPassphrase[][src]

    type MnemonicWithPassphrase = (Mnemonic, Option<String>);
    This is supported on crate feature keys-bip39 only.
    Expand description

    Type for a BIP39 mnemonic with an optional passphrase

    -

    Trait Implementations

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    -

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    Trait Implementations

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    +

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html index ee6de1df99..032a4527f0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html @@ -4,31 +4,31 @@ Change settings

    Enum bdk::keys::DescriptorKey[][src]

    pub enum DescriptorKey<Ctx: ScriptContext> {
         // some variants omitted
     }
    Expand description

    Container for public or secret keys

    -

    Implementations

    impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

    pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

    Create an instance given a public key and a set of valid networks

    -

    pub fn from_secret(secret: DescriptorSecretKey, networks: ValidNetworks) -> Self[src]

    Create an instance given a secret key and a set of valid networks

    -

    pub fn override_valid_networks(self, networks: ValidNetworks) -> Self[src]

    Override the computed set of valid networks

    -

    Trait Implementations

    impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

    The “identity” conversion is used internally by some bdk::fragments

    -

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for DescriptorKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for DescriptorKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for DescriptorKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for DescriptorKey<Ctx> where
        Ctx: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Implementations

    impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

    pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

    Create an instance given a public key and a set of valid networks

    +

    pub fn from_secret(secret: DescriptorSecretKey, networks: ValidNetworks) -> Self[src]

    Create an instance given a secret key and a set of valid networks

    +

    pub fn override_valid_networks(self, networks: ValidNetworks) -> Self[src]

    Override the computed set of valid networks

    +

    Trait Implementations

    impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

    The “identity” conversion is used internally by some bdk::fragments

    +

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for DescriptorKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for DescriptorKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for DescriptorKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for DescriptorKey<Ctx> where
        Ctx: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html index 08e1a16fe6..0dfa99e2e5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html @@ -8,77 +8,77 @@ either be Single public key or a Xpub

    Variants

    -
    Expand description

    Single Public Key

    -
    XPub(DescriptorXKey<ExtendedPubKey>)
    Expand description

    Xpub

    -

    Implementations

    impl DescriptorPublicKey

    pub fn master_fingerprint(&self) -> Fingerprint

    The fingerprint of the master key associated with this key

    -

    pub fn full_derivation_path(&self) -> DerivationPath

    Full path, from the master key

    +

    Single Public Key

    +
    XPub(DescriptorXKey<ExtendedPubKey>)

    Xpub

    +

    Implementations

    impl DescriptorPublicKey

    pub fn master_fingerprint(&self) -> Fingerprint

    The fingerprint of the master key associated with this key

    +

    pub fn full_derivation_path(&self) -> DerivationPath

    Full path, from the master key

    For wildcard keys this will return the path up to the wildcard, so you can get full paths by appending one additional derivation step, according to the wildcard type (hardened or normal)

    -

    pub fn is_deriveable(&self) -> bool

    Whether or not the key has a wildcards

    -

    pub fn derive(self, index: u32) -> DescriptorPublicKey

    If this public key has a wildcard, replace it by the given index

    +

    pub fn is_deriveable(&self) -> bool

    Whether or not the key has a wildcards

    +

    pub fn derive(self, index: u32) -> DescriptorPublicKey

    If this public key has a wildcard, replace it by the given index

    Panics if given an index ≥ 2^31

    -

    pub fn derive_public_key<C>(
        &self,
        secp: &Secp256k1<C>
    ) -> Result<PublicKey, ConversionError> where
        C: Verification, 

    Computes the public key corresponding to this descriptor key

    +

    pub fn derive_public_key<C>(
        &self,
        secp: &Secp256k1<C>
    ) -> Result<PublicKey, ConversionError> where
        C: Verification, 

    Computes the public key corresponding to this descriptor key

    Will return an error if the descriptor key has any hardened derivation steps in its path, or if the key has any wildcards.

    To ensure there are no wildcards, call .derive(0) or similar; to avoid hardened derivation steps, start from a DescriptorSecretKey and call as_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

    -

    Trait Implementations

    impl Clone for DescriptorPublicKey

    pub fn clone(&self) -> DescriptorPublicKey

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for DescriptorPublicKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Display for DescriptorPublicKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl FromStr for DescriptorPublicKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    -

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorPublicKey, <DescriptorPublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    -

    impl Hash for DescriptorPublicKey

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    impl MiniscriptKey for DescriptorPublicKey

    type Hash = DescriptorPublicKey

    The associated Hash type with the publicKey

    -

    pub fn is_uncompressed(&self) -> bool

    Check if the publicKey is uncompressed. The default +

    Trait Implementations

    impl Clone for DescriptorPublicKey

    pub fn clone(&self) -> DescriptorPublicKey

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for DescriptorPublicKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Display for DescriptorPublicKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl FromStr for DescriptorPublicKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    +

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorPublicKey, <DescriptorPublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    +

    impl Hash for DescriptorPublicKey

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    impl MiniscriptKey for DescriptorPublicKey

    type Hash = DescriptorPublicKey

    The associated Hash type with the publicKey

    +

    pub fn is_uncompressed(&self) -> bool

    Check if the publicKey is uncompressed. The default implementation returns false Read more

    -

    pub fn to_pubkeyhash(&self) -> DescriptorPublicKey

    Converts an object to PublicHash

    -

    fn serialized_len(&self) -> usize

    Computes the size of a public key when serialized in a script, +

    pub fn to_pubkeyhash(&self) -> DescriptorPublicKey

    Converts an object to PublicHash

    +

    fn serialized_len(&self) -> usize

    Computes the size of a public key when serialized in a script, including the length bytes Read more

    -

    impl Ord for DescriptorPublicKey

    pub fn cmp(&self, other: &DescriptorPublicKey) -> Ordering

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<DescriptorPublicKey> for DescriptorPublicKey

    pub fn eq(&self, other: &DescriptorPublicKey) -> bool

    This method tests for self and other values to be equal, and is used +

    impl Ord for DescriptorPublicKey

    pub fn cmp(&self, other: &DescriptorPublicKey) -> Ordering

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<DescriptorPublicKey> for DescriptorPublicKey

    pub fn eq(&self, other: &DescriptorPublicKey) -> bool

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    pub fn ne(&self, other: &DescriptorPublicKey) -> bool

    This method tests for !=.

    -

    impl PartialOrd<DescriptorPublicKey> for DescriptorPublicKey

    pub fn partial_cmp(&self, other: &DescriptorPublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    pub fn ne(&self, other: &DescriptorPublicKey) -> bool

    This method tests for !=.

    +

    impl PartialOrd<DescriptorPublicKey> for DescriptorPublicKey

    pub fn partial_cmp(&self, other: &DescriptorPublicKey) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Eq for DescriptorPublicKey

    impl StructuralEq for DescriptorPublicKey

    impl StructuralPartialEq for DescriptorPublicKey

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Eq for DescriptorPublicKey

    impl StructuralEq for DescriptorPublicKey

    impl StructuralPartialEq for DescriptorPublicKey

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html index 65193a13c4..d4458d0cd0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html @@ -7,39 +7,39 @@ }
    Expand description

    A Secret Key that can be either a single key or an Xprv

    Variants

    -
    Expand description

    Single Secret Key

    -
    XPrv(DescriptorXKey<ExtendedPrivKey>)
    Expand description

    Xprv

    -

    Implementations

    impl DescriptorSecretKey

    pub fn as_public<C>(
        &self,
        secp: &Secp256k1<C>
    ) -> Result<DescriptorPublicKey, DescriptorKeyParseError> where
        C: Signing, 

    Return the public version of this key, by applying either +

    Single Secret Key

    +
    XPrv(DescriptorXKey<ExtendedPrivKey>)

    Xprv

    +

    Implementations

    impl DescriptorSecretKey

    pub fn as_public<C>(
        &self,
        secp: &Secp256k1<C>
    ) -> Result<DescriptorPublicKey, DescriptorKeyParseError> where
        C: Signing, 

    Return the public version of this key, by applying either DescriptorSinglePriv::as_public or [DescriptorXKey<bip32::ExtendedPrivKey>::as_public] depending on the type of key.

    If the key is an “XPrv”, the hardened derivation steps will be applied before converting it to a public key. See the documentation of [DescriptorXKey<bip32::ExtendedPrivKey>::as_public] for more details.

    -

    Trait Implementations

    impl Debug for DescriptorSecretKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Display for DescriptorSecretKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl FromStr for DescriptorSecretKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    -

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorSecretKey, <DescriptorSecretKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Debug for DescriptorSecretKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Display for DescriptorSecretKey

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl FromStr for DescriptorSecretKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    +

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorSecretKey, <DescriptorSecretKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    +

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html index 08e9379f02..d8fc7a0b4c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html @@ -10,38 +10,38 @@ or an ExtendedPubKey by using t

    Defaults to the Legacy context.

    Variants

    -
    Private((ExtendedPrivKey, PhantomData<Ctx>))
    Expand description

    A private extended key, aka an xprv

    -
    Public((ExtendedPubKey, PhantomData<Ctx>))
    Expand description

    A public extended key, aka an xpub

    -

    Implementations

    impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

    pub fn has_secret(&self) -> bool[src]

    Return whether or not the key contains the private data

    -

    pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

    Transform the ExtendedKey into an ExtendedPrivKey for the +

    Private((ExtendedPrivKey, PhantomData<Ctx>))

    A private extended key, aka an xprv

    +
    Public((ExtendedPubKey, PhantomData<Ctx>))

    A public extended key, aka an xpub

    +

    Implementations

    impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

    pub fn has_secret(&self) -> bool[src]

    Return whether or not the key contains the private data

    +

    pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

    Transform the ExtendedKey into an ExtendedPrivKey for the given [Network], if the key contains the private data

    -

    pub fn into_xpub<C: Signing>(
        self,
        network: Network,
        secp: &Secp256k1<C>
    ) -> ExtendedPubKey
    [src]

    Transform the ExtendedKey into an ExtendedPubKey for the +

    pub fn into_xpub<C: Signing>(
        self,
        network: Network,
        secp: &Secp256k1<C>
    ) -> ExtendedPubKey
    [src]

    Transform the ExtendedKey into an ExtendedPubKey for the given [Network]

    -

    Trait Implementations

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

    Identity conversion

    -

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    -

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    Trait Implementations

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

    Identity conversion

    +

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    +

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>[src]

    fn from(xprv: ExtendedPrivKey) -> Self[src]

    Performs the conversion.

    -

    impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>[src]

    fn from(xpub: ExtendedPubKey) -> Self[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for ExtendedKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for ExtendedKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for ExtendedKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for ExtendedKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for ExtendedKey<Ctx> where
        Ctx: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>[src]

    fn from(xprv: ExtendedPrivKey) -> Self[src]

    Performs the conversion.

    +

    impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>[src]

    fn from(xpub: ExtendedPubKey) -> Self[src]

    Performs the conversion.

    +

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for ExtendedKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for ExtendedKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for ExtendedKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for ExtendedKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for ExtendedKey<Ctx> where
        Ctx: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html index 2c8e33759c..94fde6431f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html @@ -11,42 +11,42 @@ }
    Expand description

    Errors thrown while working with keys

    Variants

    -
    InvalidScriptContext
    Expand description

    The key cannot exist in the given script context

    -
    InvalidNetwork
    Expand description

    The key is not valid for the given network

    -
    InvalidChecksum
    Expand description

    The key has an invalid checksum

    -
    Message(String)
    Expand description

    Custom error message

    -
    Bip32(Error)
    Expand description

    BIP32 error

    -
    Miniscript(Error)
    Expand description

    Miniscript error

    -

    Trait Implementations

    impl Debug for KeyError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Display for KeyError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Error for KeyError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    -

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    InvalidScriptContext

    The key cannot exist in the given script context

    +
    InvalidNetwork

    The key is not valid for the given network

    +
    InvalidChecksum

    The key has an invalid checksum

    +
    Message(String)

    Custom error message

    +
    Bip32(Error)

    BIP32 error

    +
    Miniscript(Error)

    Miniscript error

    +

    Trait Implementations

    impl Debug for KeyError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Display for KeyError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Error for KeyError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    +

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    +

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    +

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    +

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html index 6f17bd0b09..90a1012013 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html @@ -7,40 +7,40 @@ }
    Expand description

    Enum representation of the known valid ScriptContexts

    Variants

    -
    Legacy
    Expand description

    Legacy scripts

    -
    Segwitv0
    Expand description

    Segwitv0 scripts

    -

    Implementations

    impl ScriptContextEnum[src]

    pub fn is_legacy(&self) -> bool[src]

    Returns whether the script context is ScriptContextEnum::Legacy

    -

    pub fn is_segwit_v0(&self) -> bool[src]

    Returns whether the script context is ScriptContextEnum::Segwitv0

    -

    Trait Implementations

    impl Clone for ScriptContextEnum[src]

    fn clone(&self) -> ScriptContextEnum[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for ScriptContextEnum[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<ScriptContextEnum> for ScriptContextEnum[src]

    fn eq(&self, other: &ScriptContextEnum) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Legacy

    Legacy scripts

    +
    Segwitv0

    Segwitv0 scripts

    +

    Implementations

    impl ScriptContextEnum[src]

    pub fn is_legacy(&self) -> bool[src]

    Returns whether the script context is ScriptContextEnum::Legacy

    +

    pub fn is_segwit_v0(&self) -> bool[src]

    Returns whether the script context is ScriptContextEnum::Segwitv0

    +

    Trait Implementations

    impl Clone for ScriptContextEnum[src]

    fn clone(&self) -> ScriptContextEnum[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for ScriptContextEnum[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl PartialEq<ScriptContextEnum> for ScriptContextEnum[src]

    fn eq(&self, other: &ScriptContextEnum) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl Copy for ScriptContextEnum[src]

    impl Eq for ScriptContextEnum[src]

    impl StructuralEq for ScriptContextEnum[src]

    impl StructuralPartialEq for ScriptContextEnum[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl Copy for ScriptContextEnum[src]

    impl Eq for ScriptContextEnum[src]

    impl StructuralEq for ScriptContextEnum[src]

    impl StructuralPartialEq for ScriptContextEnum[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html index e17fe954af..38ef307954 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html @@ -6,28 +6,28 @@ pub key: PrivateKey, }
    Expand description

    A Single Descriptor Secret Key with optional origin information

    - Fields

    origin: Option<(Fingerprint, DerivationPath)>
    Expand description

    Origin information

    -
    key: PrivateKey
    Expand description

    The key

    -

    Trait Implementations

    impl Debug for DescriptorSinglePriv

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an + Fieldsorigin: Option<(Fingerprint, DerivationPath)>

    Origin information

    +
    key: PrivateKey

    The key

    +

    Trait Implementations

    impl Debug for DescriptorSinglePriv

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html index 86e93ddce6..3707584b39 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html @@ -6,51 +6,51 @@ pub key: PublicKey, }
    Expand description

    A Single Descriptor Key with optional origin information

    - Fields

    origin: Option<(Fingerprint, DerivationPath)>
    Expand description

    Origin information

    -
    key: PublicKey
    Expand description

    The key

    -

    Trait Implementations

    impl Clone for DescriptorSinglePub

    pub fn clone(&self) -> DescriptorSinglePub

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for DescriptorSinglePub

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl Hash for DescriptorSinglePub

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl Ord for DescriptorSinglePub

    pub fn cmp(&self, other: &DescriptorSinglePub) -> Ordering

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<DescriptorSinglePub> for DescriptorSinglePub

    pub fn eq(&self, other: &DescriptorSinglePub) -> bool

    This method tests for self and other values to be equal, and is used + Fieldsorigin: Option<(Fingerprint, DerivationPath)>

    Origin information

    +
    key: PublicKey

    The key

    +

    Trait Implementations

    impl Clone for DescriptorSinglePub

    pub fn clone(&self) -> DescriptorSinglePub

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for DescriptorSinglePub

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl Hash for DescriptorSinglePub

    pub fn hash<__H>(&self, state: &mut __H) where
        __H: Hasher

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl Ord for DescriptorSinglePub

    pub fn cmp(&self, other: &DescriptorSinglePub) -> Ordering

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<DescriptorSinglePub> for DescriptorSinglePub

    pub fn eq(&self, other: &DescriptorSinglePub) -> bool

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    pub fn ne(&self, other: &DescriptorSinglePub) -> bool

    This method tests for !=.

    -

    impl PartialOrd<DescriptorSinglePub> for DescriptorSinglePub

    pub fn partial_cmp(&self, other: &DescriptorSinglePub) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    pub fn ne(&self, other: &DescriptorSinglePub) -> bool

    This method tests for !=.

    +

    impl PartialOrd<DescriptorSinglePub> for DescriptorSinglePub

    pub fn partial_cmp(&self, other: &DescriptorSinglePub) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Eq for DescriptorSinglePub

    impl StructuralEq for DescriptorSinglePub

    impl StructuralPartialEq for DescriptorSinglePub

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Eq for DescriptorSinglePub

    impl StructuralEq for DescriptorSinglePub

    impl StructuralPartialEq for DescriptorSinglePub

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html index 14e1e1fd13..6261dd5890 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html @@ -2,32 +2,32 @@

    Struct bdk::keys::GeneratedKey[][src]

    pub struct GeneratedKey<K, Ctx: ScriptContext> { /* fields omitted */ }
    Expand description

    Output of a GeneratableKey key generation

    -

    Implementations

    impl<K, Ctx: ScriptContext> GeneratedKey<K, Ctx>[src]

    pub fn into_key(self) -> K[src]

    Consumes self and returns the key

    -

    Trait Implementations

    impl<K, Ctx: ScriptContext> Deref for GeneratedKey<K, Ctx>[src]

    type Target = K

    The resulting type after dereferencing.

    -

    fn deref(&self) -> &Self::Target[src]

    Dereferences the value.

    -

    impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: DerivableKey<Ctx>, 
    [src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    -

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    Implementations

    impl<K, Ctx: ScriptContext> GeneratedKey<K, Ctx>[src]

    pub fn into_key(self) -> K[src]

    Consumes self and returns the key

    +

    Trait Implementations

    impl<K, Ctx: ScriptContext> Deref for GeneratedKey<K, Ctx>[src]

    type Target = K

    The resulting type after dereferencing.

    +

    fn deref(&self) -> &Self::Target[src]

    Dereferences the value.

    +

    impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: DerivableKey<Ctx>, 
    [src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey Read more

    +

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: IntoDescriptorKey<Ctx>, 
    [src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Auto Trait Implementations

    impl<K, Ctx> RefUnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: RefUnwindSafe,
        K: RefUnwindSafe

    impl<K, Ctx> Send for GeneratedKey<K, Ctx> where
        Ctx: Send,
        K: Send

    impl<K, Ctx> Sync for GeneratedKey<K, Ctx> where
        Ctx: Sync,
        K: Sync

    impl<K, Ctx> Unpin for GeneratedKey<K, Ctx> where
        Ctx: Unpin,
        K: Unpin

    impl<K, Ctx> UnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: UnwindSafe,
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: IntoDescriptorKey<Ctx>, 
    [src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    impl<K, Ctx> RefUnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: RefUnwindSafe,
        K: RefUnwindSafe

    impl<K, Ctx> Send for GeneratedKey<K, Ctx> where
        Ctx: Send,
        K: Send

    impl<K, Ctx> Sync for GeneratedKey<K, Ctx> where
        Ctx: Sync,
        K: Sync

    impl<K, Ctx> Unpin for GeneratedKey<K, Ctx> where
        Ctx: Unpin,
        K: Unpin

    impl<K, Ctx> UnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: UnwindSafe,
        K: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html index a7995dbc69..ff5f1e5992 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html @@ -6,34 +6,34 @@ }
    Expand description

    Options for generating a [PrivateKey]

    Defaults to creating compressed keys, which save on-chain bytes and fees

    - Fields

    compressed: bool
    Expand description

    Whether the generated key should be “compressed” or not

    -

    Trait Implementations

    impl Clone for PrivateKeyGenerateOptions[src]

    fn clone(&self) -> PrivateKeyGenerateOptions[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for PrivateKeyGenerateOptions[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for PrivateKeyGenerateOptions[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl Copy for PrivateKeyGenerateOptions[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an + Fieldscompressed: bool

    Whether the generated key should be “compressed” or not

    +

    Trait Implementations

    impl Clone for PrivateKeyGenerateOptions[src]

    fn clone(&self) -> PrivateKeyGenerateOptions[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for PrivateKeyGenerateOptions[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for PrivateKeyGenerateOptions[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    impl Copy for PrivateKeyGenerateOptions[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html index e2c685d354..c3a93f78ca 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html @@ -7,87 +7,87 @@ // some fields omitted }
    Expand description

    Contents of a “sortedmulti” descriptor

    - Fields

    k: usize
    Expand description

    signatures required

    -
    pks: Vec<Pk, Global>
    Expand description

    public keys inside sorted Multi

    -

    Implementations

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn new(
        k: usize,
        pks: Vec<Pk, Global>
    ) -> Result<SortedMultiVec<Pk, Ctx>, Error>

    Create a new instance of SortedMultiVec given a list of keys and the threshold

    + Fieldsk: usize

    signatures required

    +
    pks: Vec<Pk, Global>

    public keys inside sorted Multi

    +

    Implementations

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn new(
        k: usize,
        pks: Vec<Pk, Global>
    ) -> Result<SortedMultiVec<Pk, Ctx>, Error>

    Create a new instance of SortedMultiVec given a list of keys and the threshold

    Internally checks all the applicable size limits and pubkey types limitations according to the current Ctx.

    -

    pub fn from_tree(tree: &Tree<'_>) -> Result<SortedMultiVec<Pk, Ctx>, Error> where
        Pk: FromStr,
        <Pk as FromStr>::Err: ToString

    Parse an expression tree into a SortedMultiVec

    -

    pub fn translate_pk<FPk, Q, FuncError>(
        &self,
        translatefpk: &mut FPk
    ) -> Result<SortedMultiVec<Q, Ctx>, FuncError> where
        Q: MiniscriptKey,
        FPk: FnMut(&Pk) -> Result<Q, FuncError>, 

    This will panic if translatefpk returns an uncompressed key when +

    pub fn from_tree(tree: &Tree<'_>) -> Result<SortedMultiVec<Pk, Ctx>, Error> where
        Pk: FromStr,
        <Pk as FromStr>::Err: ToString

    Parse an expression tree into a SortedMultiVec

    +

    pub fn translate_pk<FPk, Q, FuncError>(
        &self,
        translatefpk: &mut FPk
    ) -> Result<SortedMultiVec<Q, Ctx>, FuncError> where
        Q: MiniscriptKey,
        FPk: FnMut(&Pk) -> Result<Q, FuncError>, 

    This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

    -

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sanity_check(&self) -> Result<(), Error>

    utility function to sanity a sorted multi vec

    -

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sorted_node(&self) -> Terminal<Pk, Ctx> where
        Pk: ToPublicKey, 

    Create Terminal::Multi containing sorted pubkeys

    -

    pub fn encode(&self) -> Script where
        Pk: ToPublicKey, 

    Encode as a Bitcoin script

    -

    pub fn satisfy<S>(
        &self,
        satisfier: S
    ) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
        Pk: ToPublicKey,
        S: Satisfier<Pk>, 

    Attempt to produce a satisfying witness for the +

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sanity_check(&self) -> Result<(), Error>

    utility function to sanity a sorted multi vec

    +

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sorted_node(&self) -> Terminal<Pk, Ctx> where
        Pk: ToPublicKey, 

    Create Terminal::Multi containing sorted pubkeys

    +

    pub fn encode(&self) -> Script where
        Pk: ToPublicKey, 

    Encode as a Bitcoin script

    +

    pub fn satisfy<S>(
        &self,
        satisfier: S
    ) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
        Pk: ToPublicKey,
        S: Satisfier<Pk>, 

    Attempt to produce a satisfying witness for the witness script represented by the parse tree

    -

    pub fn script_size(&self) -> usize

    Size, in bytes of the script-pubkey. If this Miniscript is used outside +

    pub fn script_size(&self) -> usize

    Size, in bytes of the script-pubkey. If this Miniscript is used outside of segwit (e.g. in a bare or P2SH descriptor), this quantity should be multiplied by 4 to compute the weight.

    In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

    -

    pub fn max_satisfaction_witness_elements(&self) -> usize

    Maximum number of witness elements used to satisfy the Miniscript +

    pub fn max_satisfaction_witness_elements(&self) -> usize

    Maximum number of witness elements used to satisfy the Miniscript fragment, including the witness script itself. Used to estimate the weight of the VarInt that specifies this number in a serialized transaction.

    This function may panic on malformed Miniscript objects which do not correspond to semantically sane Scripts. (Such scripts should be rejected at parse time. Any exceptions are bugs.)

    -

    pub fn max_satisfaction_size(&self) -> usize

    Maximum size, in bytes, of a satisfying witness. +

    pub fn max_satisfaction_size(&self) -> usize

    Maximum size, in bytes, of a satisfying witness. In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

    All signatures are assumed to be 73 bytes in size, including the length prefix (segwit) or push opcode (pre-segwit) and sighash postfix.

    -

    Trait Implementations

    impl<Pk, Ctx> Clone for SortedMultiVec<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> SortedMultiVec<Pk, Ctx>

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl<Pk, Ctx> Debug for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> Display for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> ForEachKey<Pk> for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Trait Implementations

    impl<Pk, Ctx> Clone for SortedMultiVec<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> SortedMultiVec<Pk, Ctx>

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl<Pk, Ctx> Debug for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Pk, Ctx> Display for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    +

    impl<Pk, Ctx> ForEachKey<Pk> for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

    -

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

    -

    impl<Pk, Ctx> Liftable<Pk> for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn lift(&self) -> Result<Policy<Pk>, Error>

    Convert the object into an abstract policy

    -

    impl<Pk, Ctx> Ord for SortedMultiVec<Pk, Ctx> where
        Ctx: Ord + ScriptContext,
        Pk: Ord + MiniscriptKey, 

    pub fn cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Ordering

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl<Pk, Ctx> PartialEq<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
        Ctx: PartialEq<Ctx> + ScriptContext,
        Pk: PartialEq<Pk> + MiniscriptKey, 

    pub fn eq(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

    This method tests for self and other values to be equal, and is used +

    impl<Pk, Ctx> Liftable<Pk> for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn lift(&self) -> Result<Policy<Pk>, Error>

    Convert the object into an abstract policy

    +

    impl<Pk, Ctx> Ord for SortedMultiVec<Pk, Ctx> where
        Ctx: Ord + ScriptContext,
        Pk: Ord + MiniscriptKey, 

    pub fn cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Ordering

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl<Pk, Ctx> PartialEq<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
        Ctx: PartialEq<Ctx> + ScriptContext,
        Pk: PartialEq<Pk> + MiniscriptKey, 

    pub fn eq(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    pub fn ne(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

    This method tests for !=.

    -

    impl<Pk, Ctx> PartialOrd<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
        Ctx: PartialOrd<Ctx> + ScriptContext,
        Pk: PartialOrd<Pk> + MiniscriptKey, 

    pub fn partial_cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    pub fn ne(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

    This method tests for !=.

    +

    impl<Pk, Ctx> PartialOrd<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
        Ctx: PartialOrd<Ctx> + ScriptContext,
        Pk: PartialOrd<Pk> + MiniscriptKey, 

    pub fn partial_cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl<Pk, Ctx> Eq for SortedMultiVec<Pk, Ctx> where
        Ctx: Eq + ScriptContext,
        Pk: Eq + MiniscriptKey, 

    impl<Pk, Ctx> StructuralEq for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl<Pk, Ctx> StructuralPartialEq for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Auto Trait Implementations

    impl<Pk, Ctx> RefUnwindSafe for SortedMultiVec<Pk, Ctx> where
        Ctx: RefUnwindSafe,
        Pk: RefUnwindSafe

    impl<Pk, Ctx> Send for SortedMultiVec<Pk, Ctx> where
        Ctx: Send,
        Pk: Send

    impl<Pk, Ctx> Sync for SortedMultiVec<Pk, Ctx> where
        Ctx: Sync,
        Pk: Sync

    impl<Pk, Ctx> Unpin for SortedMultiVec<Pk, Ctx> where
        Ctx: Unpin,
        Pk: Unpin

    impl<Pk, Ctx> UnwindSafe for SortedMultiVec<Pk, Ctx> where
        Ctx: UnwindSafe,
        Pk: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl<Pk, Ctx> Eq for SortedMultiVec<Pk, Ctx> where
        Ctx: Eq + ScriptContext,
        Pk: Eq + MiniscriptKey, 

    impl<Pk, Ctx> StructuralEq for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl<Pk, Ctx> StructuralPartialEq for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Auto Trait Implementations

    impl<Pk, Ctx> RefUnwindSafe for SortedMultiVec<Pk, Ctx> where
        Ctx: RefUnwindSafe,
        Pk: RefUnwindSafe

    impl<Pk, Ctx> Send for SortedMultiVec<Pk, Ctx> where
        Ctx: Send,
        Pk: Send

    impl<Pk, Ctx> Sync for SortedMultiVec<Pk, Ctx> where
        Ctx: Sync,
        Pk: Sync

    impl<Pk, Ctx> Unpin for SortedMultiVec<Pk, Ctx> where
        Ctx: Unpin,
        Pk: Unpin

    impl<Pk, Ctx> UnwindSafe for SortedMultiVec<Pk, Ctx> where
        Ctx: UnwindSafe,
        Pk: UnwindSafe

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html index f7ac0ccd0f..ae450be5a3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html @@ -85,7 +85,7 @@ steps to override the set of valid networks, otherwise only the network specifie Ok(descriptor_key.override_valid_networks(any_network())) } } -

    Required methods

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Expand description

    Consume self and turn it into an ExtendedKey

    +

    Required methods

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    Consume self and turn it into an ExtendedKey

    This can be used to get direct access to xprvs and xpubs for types that implement this trait, like Mnemonic when the keys-bip39 feature is enabled.

    @@ -101,8 +101,8 @@ like Mnemonic when the ? .into_extended_key()?; let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
    -

    Provided methods

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Expand description

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

    Provided methods

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path

    -

    Implementations on Foreign Types

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

    Implementors

    impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: DerivableKey<Ctx>, 
    [src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

    Identity conversion

    -

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    +

    Implementations on Foreign Types

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

    Implementors

    impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: DerivableKey<Ctx>, 
    [src]

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

    Identity conversion

    +

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

    This is supported on crate feature keys-bip39 only.

    fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

    fn into_descriptor_key(
        self,
        source: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError>
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html index eb395bd8a8..03be86b10d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html @@ -7,8 +7,8 @@ fn is_legacy() -> bool { ... }
    fn is_segwit_v0() -> bool { ... } }
    Expand description

    Trait that adds extra useful methods to ScriptContexts

    -

    Required methods

    fn as_enum() -> ScriptContextEnum[src]

    Expand description

    Returns the ScriptContext as a ScriptContextEnum

    -

    Provided methods

    fn is_legacy() -> bool[src]

    Expand description

    Returns whether the script context is Legacy

    -

    fn is_segwit_v0() -> bool[src]

    Expand description

    Returns whether the script context is Segwitv0

    -

    Implementors

    +

    Required methods

    Provided methods

    fn is_legacy() -> bool[src]

    Returns whether the script context is Legacy

    +

    fn is_segwit_v0() -> bool[src]

    Returns whether the script context is Segwitv0

    +

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html index ac42cafc70..1c9fe7723a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html @@ -1,14 +1,14 @@ GeneratableDefaultOptions in bdk::keys - Rust

    Trait bdk::keys::GeneratableDefaultOptions[][src]

    pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
        Ctx: ScriptContext,
        Self::Options: Default
    { + Change settings

    Trait bdk::keys::GeneratableDefaultOptions[][src]

    pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
        Ctx: ScriptContext,
        <Self as GeneratableKey<Ctx>>::Options: Default
    { fn generate_with_entropy_default(
            entropy: Self::Entropy
        ) -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... }
    fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... } }
    Expand description

    Trait that allows generating a key with the default options

    This trait is automatically implemented if the GeneratableKey::Options implements Default.

    -

    Provided methods

    fn generate_with_entropy_default(
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Expand description

    Generate a key with the default options and a given entropy

    -

    fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

    Expand description

    Generate a key with the default options and a random entropy

    -

    Implementors

    impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
        Ctx: ScriptContext,
        K: GeneratableKey<Ctx>,
        <K as GeneratableKey<Ctx>>::Options: Default
    [src]

    Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where +

    Provided methods

    fn generate_with_entropy_default(
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key with the default options and a given entropy

    +

    fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

    Generate a key with the default options and a random entropy

    +

    Implementors

    impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
        Ctx: ScriptContext,
        K: GeneratableKey<Ctx>,
        <K as GeneratableKey<Ctx>>::Options: Default
    [src]

    Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where Options implements Default

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html index 7daa62d66b..f9423e91d0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html @@ -14,10 +14,10 @@ implements it, the returned GeneratedKey will also implement it. The same is true for IntoDescriptorKey: the generated keys can be directly used in descriptors if Self is also IntoDescriptorKey.

    -

    Associated Types

    type Entropy: AsMut<[u8]> + Default[src]

    Expand description

    Type specifying the amount of entropy required e.g. [u8;32]

    -

    type Options[src]

    Expand description

    Extra options required by the generate_with_entropy

    -

    type Error: Debug[src]

    Expand description

    Returned error in case of failure

    -

    Required methods

    fn generate_with_entropy(
        options: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Expand description

    Generate a key given the extra options and the entropy

    -

    Provided methods

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Expand description

    Generate a key given the options with a random entropy

    -

    Implementations on Foreign Types

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

    type Entropy = [u8; 32]

    type Options = ()

    type Error = Error

    fn generate_with_entropy(
        _: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

    type Entropy = [u8; 32]

    type Options = PrivateKeyGenerateOptions

    type Error = Error

    fn generate_with_entropy(
        options: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Implementors

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

    This is supported on crate feature keys-bip39 only.

    type Entropy = [u8; 32]

    type Options = (MnemonicType, Language)

    type Error = Option<ErrorKind>

    fn generate_with_entropy(
        (mnemonic_type, language): Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    +

    Associated Types

    type Entropy: AsMut<[u8]> + Default[src]

    Type specifying the amount of entropy required e.g. [u8;32]

    +

    type Options[src]

    Extra options required by the generate_with_entropy

    +

    type Error: Debug[src]

    Returned error in case of failure

    +

    Required methods

    fn generate_with_entropy(
        options: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the extra options and the entropy

    +

    Provided methods

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the options with a random entropy

    +

    Implementations on Foreign Types

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

    type Entropy = [u8; 32]

    type Options = ()

    type Error = Error

    fn generate_with_entropy(
        _: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

    type Entropy = [u8; 32]

    type Options = PrivateKeyGenerateOptions

    type Error = Error

    fn generate_with_entropy(
        options: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Implementors

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

    This is supported on crate feature keys-bip39 only.

    type Entropy = [u8; 32]

    type Options = (MnemonicType, Language)

    type Error = Option<ErrorKind>

    fn generate_with_entropy(
        (mnemonic_type, language): Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html index 14e936b5b6..ac59ee8246 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html @@ -107,7 +107,7 @@ makes the compiler (correctly) fail.

    let (descriptor, _, _) = bdk::descriptor!(pkh(key))?; // ^^^^^ changing this to `wpkh` would make it compile -

    Required methods

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Expand description

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Implementations on Foreign Types

    impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

    impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

    Implementors

    impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: IntoDescriptorKey<Ctx>, 
    [src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

    The “identity” conversion is used internally by some bdk::fragments

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

    +

    Required methods

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Implementations on Foreign Types

    impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

    impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

    Implementors

    impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: IntoDescriptorKey<Ctx>, 
    [src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

    The “identity” conversion is used internally by some bdk::fragments

    +

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html index a543a03886..74f0434d59 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html @@ -29,7 +29,7 @@ miniscript that is used for carrying out checks that dependent on the context under which the script is used. For example, disallowing uncompressed keys in Segwit context

    -

    Required methods

    fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on ScriptContext, fragments can be malleable. For Example, +

    Required methods

    fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -37,11 +37,11 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary.

    -

    fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script context, the size of a satifaction witness may slightly differ.

    -

    Provided methods

    fn check_witness<Pk, Ctx>(
        _witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check whether the given satisfaction is valid under the ScriptContext +

    fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script context, the size of a satifaction witness may slightly differ.

    +

    Provided methods

    fn check_witness<Pk, Ctx>(
        _witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100.

    -

    fn check_global_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script Context, some of the Terminals might not +

    fn check_global_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -51,7 +51,7 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

    -

    fn check_global_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Depending on script Context, some of the script resource limits +

    fn check_global_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -59,21 +59,21 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

    -

    fn check_local_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Consensus rules at the Miniscript satisfaction time. +

    fn check_local_consensus_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes.

    -

    fn check_local_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Policy rules at the Miniscript satisfaction time. +

    fn check_local_policy_validity<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes

    -

    fn check_global_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check the consensus + policy(if not disabled) rules that are not based +

    fn check_global_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check the consensus + policy(if not disabled) rules that are not based satisfaction

    -

    fn check_local_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check the consensus + policy(if not disabled) rules including the +

    fn check_local_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check the consensus + policy(if not disabled) rules including the ones for satisfaction

    -

    fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check whether the top-level is type B

    -

    fn other_top_level_checks<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Other top level checks that are context specific

    -

    fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Expand description

    Check top level consensus rules.

    -

    Implementations on Foreign Types

    impl ScriptContext for BareCtx

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn other_top_level_checks<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Implementors

    impl ScriptContext for Legacy

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl ScriptContext for Segwitv0

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    +

    fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check whether the top-level is type B

    +

    fn other_top_level_checks<Pk, Ctx>(
        _ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Other top level checks that are context specific

    +

    fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Check top level consensus rules.

    +

    Implementations on Foreign Types

    impl ScriptContext for BareCtx

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn other_top_level_checks<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), Error> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Implementors

    impl ScriptContext for Legacy

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    impl ScriptContext for Segwitv0

    pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_witness<Pk, Ctx>(
        witness: &[Vec<u8, Global>]
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_consensus_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_global_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn check_local_policy_validity<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Result<(), ScriptContextError> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html index a1ddc29af8..5e6290fd10 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html @@ -2,47 +2,47 @@

    Struct bdk::FeeRate[][src]

    pub struct FeeRate(_);
    Expand description

    Fee rate

    -

    Implementations

    impl FeeRate[src]

    pub fn from_btc_per_kvb(btc_per_kvb: f32) -> Self[src]

    Create a new instance of FeeRate given a float fee rate in btc/kvbytes

    -

    pub const fn from_sat_per_vb(sat_per_vb: f32) -> Self[src]

    Create a new instance of FeeRate given a float fee rate in satoshi/vbyte

    -

    pub const fn default_min_relay_fee() -> Self[src]

    Create a new FeeRate with the default min relay fee value

    -

    pub fn as_sat_vb(&self) -> f32[src]

    Return the value as satoshi/vbyte

    -

    Trait Implementations

    impl Clone for FeeRate[src]

    fn clone(&self) -> FeeRate[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for FeeRate[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for FeeRate[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl PartialEq<FeeRate> for FeeRate[src]

    fn eq(&self, other: &FeeRate) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Implementations

    impl FeeRate[src]

    pub fn from_btc_per_kvb(btc_per_kvb: f32) -> Self[src]

    Create a new instance of FeeRate given a float fee rate in btc/kvbytes

    +

    pub const fn from_sat_per_vb(sat_per_vb: f32) -> Self[src]

    Create a new instance of FeeRate given a float fee rate in satoshi/vbyte

    +

    pub const fn default_min_relay_fee() -> Self[src]

    Create a new FeeRate with the default min relay fee value

    +

    pub fn as_sat_vb(&self) -> f32[src]

    Return the value as satoshi/vbyte

    +

    Trait Implementations

    impl Clone for FeeRate[src]

    fn clone(&self) -> FeeRate[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for FeeRate[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for FeeRate[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    impl PartialEq<FeeRate> for FeeRate[src]

    fn eq(&self, other: &FeeRate) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &FeeRate) -> bool[src]

    This method tests for !=.

    -

    impl PartialOrd<FeeRate> for FeeRate[src]

    fn partial_cmp(&self, other: &FeeRate) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    fn ne(&self, other: &FeeRate) -> bool[src]

    This method tests for !=.

    +

    impl PartialOrd<FeeRate> for FeeRate[src]

    fn partial_cmp(&self, other: &FeeRate) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Copy for FeeRate[src]

    impl StructuralPartialEq for FeeRate[src]

    Auto Trait Implementations

    impl RefUnwindSafe for FeeRate

    impl Send for FeeRate

    impl Sync for FeeRate

    impl Unpin for FeeRate

    impl UnwindSafe for FeeRate

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Copy for FeeRate[src]

    impl StructuralPartialEq for FeeRate[src]

    Auto Trait Implementations

    impl RefUnwindSafe for FeeRate

    impl Send for FeeRate

    impl Sync for FeeRate

    impl Unpin for FeeRate

    impl UnwindSafe for FeeRate

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html index 00e201d8b1..887aafdd99 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html @@ -7,41 +7,41 @@ pub keychain: KeychainKind, }
    Expand description

    An unspent output owned by a Wallet.

    - Fields

    outpoint: OutPoint
    Expand description

    Reference to a transaction output

    -
    txout: TxOut
    Expand description

    Transaction output

    -
    keychain: KeychainKind
    Expand description

    Type of keychain

    -

    Trait Implementations

    impl Clone for LocalUtxo[src]

    fn clone(&self) -> LocalUtxo[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for LocalUtxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl<'de> Deserialize<'de> for LocalUtxo[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    -

    impl PartialEq<LocalUtxo> for LocalUtxo[src]

    fn eq(&self, other: &LocalUtxo) -> bool[src]

    This method tests for self and other values to be equal, and is used + Fieldsoutpoint: OutPoint

    Reference to a transaction output

    +
    txout: TxOut

    Transaction output

    +
    keychain: KeychainKind

    Type of keychain

    +

    Trait Implementations

    impl Clone for LocalUtxo[src]

    fn clone(&self) -> LocalUtxo[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for LocalUtxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl<'de> Deserialize<'de> for LocalUtxo[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    +

    impl PartialEq<LocalUtxo> for LocalUtxo[src]

    fn eq(&self, other: &LocalUtxo) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &LocalUtxo) -> bool[src]

    This method tests for !=.

    -

    impl Serialize for LocalUtxo[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    -

    impl Eq for LocalUtxo[src]

    impl StructuralEq for LocalUtxo[src]

    impl StructuralPartialEq for LocalUtxo[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    fn ne(&self, other: &LocalUtxo) -> bool[src]

    This method tests for !=.

    +

    impl Serialize for LocalUtxo[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    +

    impl Eq for LocalUtxo[src]

    impl StructuralEq for LocalUtxo[src]

    impl StructuralPartialEq for LocalUtxo[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html index a7c28307ee..6f22f80e6f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html @@ -11,46 +11,46 @@ pub height: Option<u32>, }
    Expand description

    A wallet transaction

    - Fields

    transaction: Option<Transaction>
    Expand description

    Optional transaction

    -
    txid: Txid
    Expand description

    Transaction id

    -
    timestamp: u64
    Expand description

    Timestamp

    -
    received: u64
    Expand description

    Received value (sats)

    -
    sent: u64
    Expand description

    Sent value (sats)

    -
    fees: u64
    Expand description

    Fee value (sats)

    -
    height: Option<u32>
    Expand description

    Confirmed in block height, None means unconfirmed

    -

    Trait Implementations

    impl Clone for TransactionDetails[src]

    fn clone(&self) -> TransactionDetails[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for TransactionDetails[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for TransactionDetails[src]

    fn default() -> TransactionDetails[src]

    Returns the “default value” for a type. Read more

    -

    impl<'de> Deserialize<'de> for TransactionDetails[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    -

    impl PartialEq<TransactionDetails> for TransactionDetails[src]

    fn eq(&self, other: &TransactionDetails) -> bool[src]

    This method tests for self and other values to be equal, and is used + Fieldstransaction: Option<Transaction>

    Optional transaction

    +
    txid: Txid

    Transaction id

    +
    timestamp: u64

    Timestamp

    +
    received: u64

    Received value (sats)

    +
    sent: u64

    Sent value (sats)

    +
    fees: u64

    Fee value (sats)

    +
    height: Option<u32>

    Confirmed in block height, None means unconfirmed

    +

    Trait Implementations

    impl Clone for TransactionDetails[src]

    fn clone(&self) -> TransactionDetails[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for TransactionDetails[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for TransactionDetails[src]

    fn default() -> TransactionDetails[src]

    Returns the “default value” for a type. Read more

    +

    impl<'de> Deserialize<'de> for TransactionDetails[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    +

    impl PartialEq<TransactionDetails> for TransactionDetails[src]

    fn eq(&self, other: &TransactionDetails) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &TransactionDetails) -> bool[src]

    This method tests for !=.

    -

    impl Serialize for TransactionDetails[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    -

    impl Eq for TransactionDetails[src]

    impl StructuralEq for TransactionDetails[src]

    impl StructuralPartialEq for TransactionDetails[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    fn ne(&self, other: &TransactionDetails) -> bool[src]

    This method tests for !=.

    +

    impl Serialize for TransactionDetails[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    +

    impl Eq for TransactionDetails[src]

    impl StructuralEq for TransactionDetails[src]

    impl StructuralPartialEq for TransactionDetails[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html index d26cc9ee38..cd241a81a8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html @@ -6,38 +6,38 @@ pub utxo: Utxo, }
    Expand description

    A Utxo with its satisfaction_weight.

    - Fields

    satisfaction_weight: usize
    Expand description

    The weight of the witness data and scriptSig expressed in weight units. This is used to + Fieldssatisfaction_weight: usize

    The weight of the witness data and scriptSig expressed in weight units. This is used to properly maintain the feerate when adding this input to a transaction during coin selection.

    -
    utxo: Utxo
    Expand description

    The UTXO

    -

    Trait Implementations

    impl Clone for WeightedUtxo[src]

    fn clone(&self) -> WeightedUtxo[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for WeightedUtxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<WeightedUtxo> for WeightedUtxo[src]

    fn eq(&self, other: &WeightedUtxo) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    utxo: Utxo

    The UTXO

    +

    Trait Implementations

    impl Clone for WeightedUtxo[src]

    fn clone(&self) -> WeightedUtxo[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for WeightedUtxo[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl PartialEq<WeightedUtxo> for WeightedUtxo[src]

    fn eq(&self, other: &WeightedUtxo) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &WeightedUtxo) -> bool[src]

    This method tests for !=.

    -

    impl StructuralPartialEq for WeightedUtxo[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    fn ne(&self, other: &WeightedUtxo) -> bool[src]

    This method tests for !=.

    +

    impl StructuralPartialEq for WeightedUtxo[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html index f27dcc03b1..e6e4d2b5e0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html @@ -10,48 +10,48 @@ }
    Expand description

    Errors that can be returned to fail the validation of an address

    Variants

    -
    UserRejected
    Expand description

    User rejected the address

    -
    ConnectionError
    Expand description

    Network connection error

    -
    TimeoutError
    Expand description

    Network request timeout error

    -
    InvalidScript
    Expand description

    Invalid script

    -
    Message(String)
    Expand description

    A custom error message

    -

    Trait Implementations

    impl Clone for AddressValidatorError[src]

    fn clone(&self) -> AddressValidatorError[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for AddressValidatorError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Display for AddressValidatorError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Error for AddressValidatorError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    -

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    -

    impl PartialEq<AddressValidatorError> for AddressValidatorError[src]

    fn eq(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    UserRejected

    User rejected the address

    +
    ConnectionError

    Network connection error

    +
    TimeoutError

    Network request timeout error

    +
    InvalidScript

    Invalid script

    +
    Message(String)

    A custom error message

    +

    Trait Implementations

    impl Clone for AddressValidatorError[src]

    fn clone(&self) -> AddressValidatorError[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for AddressValidatorError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Display for AddressValidatorError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Error for AddressValidatorError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    +

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    +

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    +

    impl PartialEq<AddressValidatorError> for AddressValidatorError[src]

    fn eq(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for !=.

    -

    impl Eq for AddressValidatorError[src]

    impl StructuralEq for AddressValidatorError[src]

    impl StructuralPartialEq for AddressValidatorError[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    fn ne(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for !=.

    +

    impl Eq for AddressValidatorError[src]

    impl StructuralEq for AddressValidatorError[src]

    impl StructuralPartialEq for AddressValidatorError[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html index 5d1a636002..2d02262ff0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html @@ -8,6 +8,6 @@ every time an address (external or internal) is generated by the wallet. Errors returned in the validator will be propagated up to the original caller that triggered the address generation.

    For a usage example see this module’s documentation.

    -

    Required methods

    fn validate(
        &self,
        keychain: KeychainKind,
        hd_keypaths: &HdKeyPaths,
        script: &Script
    ) -> Result<(), AddressValidatorError>
    [src]

    Expand description

    Validate or inspect an address

    -

    Implementors

    +

    Required methods

    fn validate(
        &self,
        keychain: KeychainKind,
        hd_keypaths: &HdKeyPaths,
        script: &Script
    ) -> Result<(), AddressValidatorError>
    [src]

    Validate or inspect an address

    +

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html index 721b24c62b..7d182ca655 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html @@ -3,29 +3,29 @@

    Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

    pub struct BranchAndBoundCoinSelection { /* fields omitted */ }
    Expand description

    Branch and bound coin selection

    Code adapted from Bitcoin Core’s implementation and from Mark Erhardt Master’s Thesis: http://murch.one/wp-content/uploads/2016/11/erhardt2016coinselection.pdf

    -

    Implementations

    impl BranchAndBoundCoinSelection[src]

    pub fn new(size_of_change: u64) -> Self[src]

    Create new instance with target size for change output

    -

    Trait Implementations

    impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Perform the coin selection Read more

    -

    impl Debug for BranchAndBoundCoinSelection[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for BranchAndBoundCoinSelection[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Implementations

    impl BranchAndBoundCoinSelection[src]

    pub fn new(size_of_change: u64) -> Self[src]

    Create new instance with target size for change output

    +

    Trait Implementations

    impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Perform the coin selection Read more

    +

    impl Debug for BranchAndBoundCoinSelection[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for BranchAndBoundCoinSelection[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html index 31ed889109..a786ce3ade 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html @@ -6,30 +6,30 @@ pub fee_amount: f32, }
    Expand description

    Result of a successful coin selection

    - Fields

    selected: Vec<Utxo>
    Expand description

    List of outputs selected for use as inputs

    -
    fee_amount: f32
    Expand description

    Total fee amount in satoshi

    -

    Implementations

    impl CoinSelectionResult[src]

    pub fn selected_amount(&self) -> u64[src]

    The total value of the inputs selected.

    -

    pub fn local_selected_amount(&self) -> u64[src]

    The total value of the inputs selected from the local wallet.

    -

    Trait Implementations

    impl Debug for CoinSelectionResult[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an + Fieldsselected: Vec<Utxo>

    List of outputs selected for use as inputs

    +
    fee_amount: f32

    Total fee amount in satoshi

    +

    Implementations

    impl CoinSelectionResult[src]

    pub fn selected_amount(&self) -> u64[src]

    The total value of the inputs selected.

    +

    pub fn local_selected_amount(&self) -> u64[src]

    The total value of the inputs selected from the local wallet.

    +

    Trait Implementations

    impl Debug for CoinSelectionResult[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html index 6d91a9f08c..7cefbe66b9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html @@ -4,34 +4,34 @@ Change settings

    Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

    pub struct LargestFirstCoinSelection;
    Expand description

    Simple and dumb coin selection

    This coin selection algorithm sorts the available UTXOs by value and then picks them starting from the largest ones until the required amount is reached.

    -

    Trait Implementations

    impl Clone for LargestFirstCoinSelection[src]

    fn clone(&self) -> LargestFirstCoinSelection[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Perform the coin selection Read more

    -

    impl Debug for LargestFirstCoinSelection[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for LargestFirstCoinSelection[src]

    fn default() -> LargestFirstCoinSelection[src]

    Returns the “default value” for a type. Read more

    -

    impl Copy for LargestFirstCoinSelection[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Clone for LargestFirstCoinSelection[src]

    fn clone(&self) -> LargestFirstCoinSelection[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Perform the coin selection Read more

    +

    impl Debug for LargestFirstCoinSelection[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for LargestFirstCoinSelection[src]

    fn default() -> LargestFirstCoinSelection[src]

    Returns the “default value” for a type. Read more

    +

    impl Copy for LargestFirstCoinSelection[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html index bd38f373af..632be38492 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html @@ -7,7 +7,7 @@

    This trait can be implemented to make the Wallet use a customized coin selection algorithm when it creates transactions.

    For an example see this module’s documentation.

    -

    Required methods

    fn coin_select(
        &self,
        database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Expand description

    Perform the coin selection

    +

    Required methods

    fn coin_select(
        &self,
        database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    Perform the coin selection

    • database: a reference to the wallet’s database that can be used to lookup additional details for a specific UTXO
    • @@ -20,5 +20,5 @@ weight cost
    • fee_amount: the amount of fees in satoshi already accumulated from adding outputs and the transaction’s header
    -

    Implementors

    impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    +

    Implementors

    impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

    fn coin_select(
        &self,
        _database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html index 287ed13643..77a126e19e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html @@ -10,44 +10,44 @@ descriptor. See Wallet::get_address. If you’re unsure which one to use use WalletIndex::New.

    Variants

    -
    New
    Expand description

    Return a new address after incrementing the current descriptor index.

    -
    LastUnused
    Expand description

    Return the address for the current descriptor index if it has not been used in a received +

    New

    Return a new address after incrementing the current descriptor index.

    +
    LastUnused

    Return the address for the current descriptor index if it has not been used in a received transaction. Otherwise return a new address as with AddressIndex::New.

    Use with caution, if the wallet has not yet detected an address has been used it could return an already used address. This function is primarily meant for situations where the caller is untrusted; for example when deriving donation addresses on-demand for a public web page.

    -
    Peek(u32)
    Expand description

    Return the address for a specific descriptor index. Does not change the current descriptor +

    Peek(u32)

    Return the address for a specific descriptor index. Does not change the current descriptor index used by AddressIndex::New and AddressIndex::LastUsed.

    Use with caution, if an index is given that is less than the current descriptor index then the returned address may have already been used.

    -
    Reset(u32)
    Expand description

    Return the address for a specific descriptor index and reset the current descriptor index +

    Reset(u32)

    Return the address for a specific descriptor index and reset the current descriptor index used by AddressIndex::New and AddressIndex::LastUsed to this value.

    Use with caution, if an index is given that is less than the current descriptor index then the returned address and subsequent addresses returned by calls to AddressIndex::New and AddressIndex::LastUsed may have already been used. Also if the index is reset to a value earlier than the crate::blockchain::Blockchain stop_gap (default is 20) then a larger stop_gap should be used to monitor for all possibly used addresses.

    -

    Trait Implementations

    impl Debug for AddressIndex[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Debug for AddressIndex[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html index 95fa413cc7..ee550f0d4f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html @@ -8,9 +8,9 @@ }
    Expand description

    Structure that contains the export of a wallet

    For a usage example see this module’s documentation.

    - Fields

    blockheight: u32
    Expand description

    Earliest block to rescan when looking for the wallet’s transactions

    -
    label: String
    Expand description

    Arbitrary label for the wallet

    -

    Implementations

    impl WalletExport[src]

    pub fn export_wallet<B, D: BatchDatabase>(
        wallet: &Wallet<B, D>,
        label: &str,
        include_blockheight: bool
    ) -> Result<Self, &'static str>
    [src]

    Export a wallet

    + Fieldsblockheight: u32

    Earliest block to rescan when looking for the wallet’s transactions

    +
    label: String

    Arbitrary label for the wallet

    +

    Implementations

    impl WalletExport[src]

    pub fn export_wallet<B, D: BatchDatabase>(
        wallet: &Wallet<B, D>,
        label: &str,
        include_blockheight: bool
    ) -> Result<Self, &'static str>
    [src]

    Export a wallet

    This function returns an error if it determines that the wallet’s descriptor(s) are not supported by Bitcoin Core or don’t follow the standard derivation paths defined by BIP44 and others.

    @@ -18,33 +18,33 @@ and others.

    for the oldest transaction it knows and use that as the earliest block to rescan.

    If the database is empty or include_blockheight is false, the blockheight field returned will be 0.

    -

    pub fn descriptor(&self) -> String[src]

    Return the external descriptor

    -

    pub fn change_descriptor(&self) -> Option<String>[src]

    Return the internal descriptor, if present

    -

    Trait Implementations

    impl Debug for WalletExport[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl<'de> Deserialize<'de> for WalletExport[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    -

    impl FromStr for WalletExport[src]

    type Err = Error

    The associated error which can be returned from parsing.

    -

    fn from_str(s: &str) -> Result<Self, Self::Err>[src]

    Parses a string s to return a value of this type. Read more

    -

    impl Serialize for WalletExport[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    -

    impl ToString for WalletExport[src]

    fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    pub fn descriptor(&self) -> String[src]

    Return the external descriptor

    +

    pub fn change_descriptor(&self) -> Option<String>[src]

    Return the internal descriptor, if present

    +

    Trait Implementations

    impl Debug for WalletExport[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl<'de> Deserialize<'de> for WalletExport[src]

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
        __D: Deserializer<'de>, 
    [src]

    Deserialize this value from the given Serde deserializer. Read more

    +

    impl FromStr for WalletExport[src]

    type Err = Error

    The associated error which can be returned from parsing.

    +

    fn from_str(s: &str) -> Result<Self, Self::Err>[src]

    Parses a string s to return a value of this type. Read more

    +

    impl Serialize for WalletExport[src]

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
        __S: Serializer
    [src]

    Serialize this value into the given Serde serializer. Read more

    +

    impl ToString for WalletExport[src]

    fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html index 8e5d31ac75..0b9b03f1c4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html @@ -1,7 +1,7 @@ bdk::wallet - Rust

    Module bdk::wallet[][src]

    Expand description

    Wallet

    + Change settings

    Module bdk::wallet[][src]

    Expand description

    Wallet

    This module defines the Wallet structure.

    Modules

    address_validator

    Address validation callbacks

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html index c198b0313e..84ecfc14b2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html @@ -14,52 +14,52 @@ }
    Expand description

    Signing error

    Variants

    -
    MissingKey
    Expand description

    The private key is missing for the required public key

    -
    InvalidKey
    Expand description

    The private key in use has the right fingerprint but derives differently than expected

    -
    UserCanceled
    Expand description

    The user canceled the operation

    -
    InputIndexOutOfRange
    Expand description

    Input index is out of range

    -
    MissingNonWitnessUtxo
    Expand description

    The non_witness_utxo field of the transaction is required to sign this input

    -
    InvalidNonWitnessUtxo
    Expand description

    The non_witness_utxo specified is invalid

    -
    MissingWitnessUtxo
    Expand description

    The witness_utxo field of the transaction is required to sign this input

    -
    MissingWitnessScript
    Expand description

    The witness_script field of the transaction is requied to sign this input

    -
    MissingHdKeypath
    Expand description

    The fingerprint and derivation path are missing from the psbt input

    -

    Trait Implementations

    impl Clone for SignerError[src]

    fn clone(&self) -> SignerError[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for SignerError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Display for SignerError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Error for SignerError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    -

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    -

    impl PartialEq<SignerError> for SignerError[src]

    fn eq(&self, other: &SignerError) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    MissingKey

    The private key is missing for the required public key

    +
    InvalidKey

    The private key in use has the right fingerprint but derives differently than expected

    +
    UserCanceled

    The user canceled the operation

    +
    InputIndexOutOfRange

    Input index is out of range

    +
    MissingNonWitnessUtxo

    The non_witness_utxo field of the transaction is required to sign this input

    +
    InvalidNonWitnessUtxo

    The non_witness_utxo specified is invalid

    +
    MissingWitnessUtxo

    The witness_utxo field of the transaction is required to sign this input

    +
    MissingWitnessScript

    The witness_script field of the transaction is requied to sign this input

    +
    MissingHdKeypath

    The fingerprint and derivation path are missing from the psbt input

    +

    Trait Implementations

    impl Clone for SignerError[src]

    fn clone(&self) -> SignerError[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for SignerError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Display for SignerError[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Error for SignerError[src]

    fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

    The lower-level source of this error, if any. Read more

    +

    fn backtrace(&self) -> Option<&Backtrace>[src]

    🔬 This is a nightly-only experimental API. (backtrace)

    Returns a stack backtrace, if available, of where this error occurred. Read more

    +

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    +

    impl PartialEq<SignerError> for SignerError[src]

    fn eq(&self, other: &SignerError) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl Eq for SignerError[src]

    impl StructuralEq for SignerError[src]

    impl StructuralPartialEq for SignerError[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl Eq for SignerError[src]

    impl StructuralEq for SignerError[src]

    impl StructuralPartialEq for SignerError[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html index 9de121b33c..1f83f275a3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html @@ -9,54 +9,54 @@ multiple of them

    Variants

    -
    PkHash(Hash)
    Expand description

    Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key

    -
    Fingerprint(Fingerprint)
    Expand description

    The fingerprint of a BIP32 extended key

    -
    Dummy(u64)
    Expand description

    Dummy identifier

    -

    Trait Implementations

    impl Clone for SignerId[src]

    fn clone(&self) -> SignerId[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for SignerId[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl From<Fingerprint> for SignerId[src]

    fn from(fing: Fingerprint) -> SignerId[src]

    Performs the conversion.

    -

    impl From<Hash> for SignerId[src]

    fn from(hash: Hash) -> SignerId[src]

    Performs the conversion.

    -

    impl Hash for SignerId[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl Ord for SignerId[src]

    fn cmp(&self, other: &SignerId) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<SignerId> for SignerId[src]

    fn eq(&self, other: &SignerId) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    PkHash(Hash)

    Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key

    +
    Fingerprint(Fingerprint)

    The fingerprint of a BIP32 extended key

    +
    Dummy(u64)

    Dummy identifier

    +

    Trait Implementations

    impl Clone for SignerId[src]

    fn clone(&self) -> SignerId[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for SignerId[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl From<Fingerprint> for SignerId[src]

    fn from(fing: Fingerprint) -> SignerId[src]

    Performs the conversion.

    +

    impl From<Hash> for SignerId[src]

    fn from(hash: Hash) -> SignerId[src]

    Performs the conversion.

    +

    impl Hash for SignerId[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl Ord for SignerId[src]

    fn cmp(&self, other: &SignerId) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<SignerId> for SignerId[src]

    fn eq(&self, other: &SignerId) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &SignerId) -> bool[src]

    This method tests for !=.

    -

    impl PartialOrd<SignerId> for SignerId[src]

    fn partial_cmp(&self, other: &SignerId) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    fn ne(&self, other: &SignerId) -> bool[src]

    This method tests for !=.

    +

    impl PartialOrd<SignerId> for SignerId[src]

    fn partial_cmp(&self, other: &SignerId) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Eq for SignerId[src]

    impl StructuralEq for SignerId[src]

    impl StructuralPartialEq for SignerId[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Eq for SignerId[src]

    impl StructuralEq for SignerId[src]

    impl StructuralPartialEq for SignerId[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html index 4086c681a7..3a94d0148d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html @@ -7,7 +7,7 @@ }
    Expand description

    Options for a software signer

    Adjust the behavior of our software signers and the way a transaction is finalized

    - Fields

    trust_witness_utxo: bool
    Expand description

    Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn’t been + Fieldstrust_witness_utxo: bool

    Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn’t been provided

    Defaults to false to mitigate the “SegWit bug” which chould trick the wallet into paying a fee larger than expected.

    @@ -16,38 +16,38 @@ SegWit transactions in the PSBT they generate: in those cases setting this to

    For more details see: https://blog.trezor.io/details-of-firmware-updates-for-trezor-one-version-1-9-1-and-trezor-model-t-version-2-3-1-1eba8f60f2dd

    -
    assume_height: Option<u32>
    Expand description

    Whether the wallet should assume a specific height has been reached when trying to finalize +

    assume_height: Option<u32>

    Whether the wallet should assume a specific height has been reached when trying to finalize a transaction

    The wallet will only “use” a timelock to satisfy the spending policy of an input if the timelock height has already been reached. This option allows overriding the “current height” to let the wallet use timelocks in the future to spend a coin.

    -

    Trait Implementations

    impl Clone for SignOptions[src]

    fn clone(&self) -> SignOptions[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for SignOptions[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for SignOptions[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Clone for SignOptions[src]

    fn clone(&self) -> SignOptions[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for SignOptions[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for SignOptions[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html index 8273b0107d..323e58d230 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html @@ -5,48 +5,48 @@

    The default value is 100. Signers with an ordering above that will be called later, and they will thus see the partial signatures added to the transaction once they get to sign themselves.

    -

    Trait Implementations

    impl Clone for SignerOrdering[src]

    fn clone(&self) -> SignerOrdering[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for SignerOrdering[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for SignerOrdering[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl Ord for SignerOrdering[src]

    fn cmp(&self, other: &SignerOrdering) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<SignerOrdering> for SignerOrdering[src]

    fn eq(&self, other: &SignerOrdering) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    impl Clone for SignerOrdering[src]

    fn clone(&self) -> SignerOrdering[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for SignerOrdering[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for SignerOrdering[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    impl Ord for SignerOrdering[src]

    fn cmp(&self, other: &SignerOrdering) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<SignerOrdering> for SignerOrdering[src]

    fn eq(&self, other: &SignerOrdering) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    fn ne(&self, other: &SignerOrdering) -> bool[src]

    This method tests for !=.

    -

    impl PartialOrd<SignerOrdering> for SignerOrdering[src]

    fn partial_cmp(&self, other: &SignerOrdering) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    fn ne(&self, other: &SignerOrdering) -> bool[src]

    This method tests for !=.

    +

    impl PartialOrd<SignerOrdering> for SignerOrdering[src]

    fn partial_cmp(&self, other: &SignerOrdering) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Eq for SignerOrdering[src]

    impl StructuralEq for SignerOrdering[src]

    impl StructuralPartialEq for SignerOrdering[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Eq for SignerOrdering[src]

    impl StructuralEq for SignerOrdering[src]

    impl StructuralPartialEq for SignerOrdering[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html index 356745bfa3..1a3e06250b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html @@ -2,42 +2,42 @@

    Struct bdk::wallet::signer::SignersContainer[][src]

    pub struct SignersContainer(_);
    Expand description

    Container for multiple signers

    -

    Implementations

    impl SignersContainer[src]

    pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

    Create a map of public keys to secret keys

    -

    impl SignersContainer[src]

    pub fn new() -> Self[src]

    Default constructor

    -

    pub fn add_external(
        &mut self,
        id: SignerId,
        ordering: SignerOrdering,
        signer: Arc<dyn Signer>
    ) -> Option<Arc<dyn Signer>>
    [src]

    Adds an external signer to the container for the specified id. Optionally returns the +

    Implementations

    impl SignersContainer[src]

    pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

    Create a map of public keys to secret keys

    +

    impl SignersContainer[src]

    pub fn new() -> Self[src]

    Default constructor

    +

    pub fn add_external(
        &mut self,
        id: SignerId,
        ordering: SignerOrdering,
        signer: Arc<dyn Signer>
    ) -> Option<Arc<dyn Signer>>
    [src]

    Adds an external signer to the container for the specified id. Optionally returns the signer that was previously in the container, if any

    -

    pub fn remove(
        &mut self,
        id: SignerId,
        ordering: SignerOrdering
    ) -> Option<Arc<dyn Signer>>
    [src]

    Removes a signer from the container and returns it

    -

    pub fn ids(&self) -> Vec<&SignerId>[src]

    Returns the list of identifiers of all the signers in the container

    -

    pub fn signers(&self) -> Vec<&Arc<dyn Signer>>[src]

    Returns the list of signers in the container, sorted by lowest to highest ordering

    -

    pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>>[src]

    Finds the signer with lowest ordering for a given id in the container.

    -

    Trait Implementations

    impl Clone for SignersContainer[src]

    fn clone(&self) -> SignersContainer[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for SignersContainer[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for SignersContainer[src]

    fn default() -> SignersContainer[src]

    Returns the “default value” for a type. Read more

    -

    impl From<HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>> for SignersContainer[src]

    fn from(keymap: KeyMap) -> SignersContainer[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    pub fn remove(
        &mut self,
        id: SignerId,
        ordering: SignerOrdering
    ) -> Option<Arc<dyn Signer>>
    [src]

    Removes a signer from the container and returns it

    +

    pub fn ids(&self) -> Vec<&SignerId>[src]

    Returns the list of identifiers of all the signers in the container

    +

    pub fn signers(&self) -> Vec<&Arc<dyn Signer>>[src]

    Returns the list of signers in the container, sorted by lowest to highest ordering

    +

    pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>>[src]

    Finds the signer with lowest ordering for a given id in the container.

    +

    Trait Implementations

    impl Clone for SignersContainer[src]

    fn clone(&self) -> SignersContainer[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for SignersContainer[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for SignersContainer[src]

    fn default() -> SignersContainer[src]

    Returns the “default value” for a type. Read more

    +

    impl From<HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>> for SignersContainer[src]

    fn from(keymap: KeyMap) -> SignersContainer[src]

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html index 2fd9260386..42ae5c6588 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html @@ -10,18 +10,18 @@ }
    Expand description

    Trait for signers

    This trait can be implemented to provide customized signers to the wallet. For an example see this module’s documentation.

    -

    Required methods

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    Expand description

    Sign a PSBT

    +

    Required methods

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    Sign a PSBT

    The input_index argument is only provided if the wallet doesn’t declare to sign the whole transaction in one go (see Signer::sign_whole_tx). Otherwise its value is None and can be ignored.

    -

    fn sign_whole_tx(&self) -> bool[src]

    Expand description

    Return whether or not the signer signs the whole transaction in one go instead of every +

    fn sign_whole_tx(&self) -> bool[src]

    Return whether or not the signer signs the whole transaction in one go instead of every input individually

    -

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    Expand description

    Return the SignerId for this signer

    +

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    Return the SignerId for this signer

    The SignerId can be used to lookup a signer in the Wallet’s signers map or to compare two signers.

    -

    Provided methods

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    Expand description

    Return the secret key for the signer

    +

    Provided methods

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    Return the secret key for the signer

    This is used internally to reconstruct the original descriptor that may contain secrets. External signers that are meant to keep key isolated should just return None here (which is the default for this method, if not overridden).

    -

    Implementations on Foreign Types

    impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    fn sign_whole_tx(&self) -> bool[src]

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    impl Signer for PrivateKey[src]

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    fn sign_whole_tx(&self) -> bool[src]

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    Implementors

    +

    Implementations on Foreign Types

    impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    fn sign_whole_tx(&self) -> bool[src]

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    impl Signer for PrivateKey[src]

    fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>
    [src]

    fn sign_whole_tx(&self) -> bool[src]

    fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html index 7bca3ce54a..e8218eac44 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html @@ -9,29 +9,29 @@ needs to operate, like generatin

    A wallet can be either “online” if the blockchain type provided implements Blockchain, or “offline” if it is the unit type (). Offline wallets only expose methods that don’t need any interaction with the blockchain to work.

    -

    Implementations

    impl<D> Wallet<(), D> where
        D: BatchDatabase
    [src]

    pub fn new_offline<E: IntoWalletDescriptor>(
        descriptor: E,
        change_descriptor: Option<E>,
        network: Network,
        database: D
    ) -> Result<Self, Error>
    [src]

    Create a new “offline” wallet

    -

    impl<B, D> Wallet<B, D> where
        D: BatchDatabase
    [src]

    pub fn get_address(&self, address_index: AddressIndex) -> Result<Address, Error>[src]

    Return a derived address using the external descriptor, see AddressIndex for +

    Implementations

    impl<D> Wallet<(), D> where
        D: BatchDatabase
    [src]

    pub fn new_offline<E: IntoWalletDescriptor>(
        descriptor: E,
        change_descriptor: Option<E>,
        network: Network,
        database: D
    ) -> Result<Self, Error>
    [src]

    Create a new “offline” wallet

    +

    impl<B, D> Wallet<B, D> where
        D: BatchDatabase
    [src]

    pub fn get_address(&self, address_index: AddressIndex) -> Result<Address, Error>[src]

    Return a derived address using the external descriptor, see AddressIndex for available address index selection strategies. If none of the keys in the descriptor are derivable (ie. does not end with /*) then the same address will always be returned for any AddressIndex.

    -

    pub fn is_mine(&self, script: &Script) -> Result<bool, Error>[src]

    Return whether or not a script is part of this wallet (either internal or external)

    -

    pub fn list_unspent(&self) -> Result<Vec<LocalUtxo>, Error>[src]

    Return the list of unspent outputs of this wallet

    +

    pub fn is_mine(&self, script: &Script) -> Result<bool, Error>[src]

    Return whether or not a script is part of this wallet (either internal or external)

    +

    pub fn list_unspent(&self) -> Result<Vec<LocalUtxo>, Error>[src]

    Return the list of unspent outputs of this wallet

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

    pub fn get_utxo(&self, outpoint: OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

    Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the +

    pub fn get_utxo(&self, outpoint: OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

    Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the wallet’s database.

    -

    pub fn list_transactions(
        &self,
        include_raw: bool
    ) -> Result<Vec<TransactionDetails>, Error>
    [src]

    Return the list of transactions made and received by the wallet

    +

    pub fn list_transactions(
        &self,
        include_raw: bool
    ) -> Result<Vec<TransactionDetails>, Error>
    [src]

    Return the list of transactions made and received by the wallet

    Optionally fill the TransactionDetails::transaction field with the raw transaction if include_raw is true.

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

    pub fn get_balance(&self) -> Result<u64, Error>[src]

    Return the balance, meaning the sum of this wallet’s unspent outputs’ values

    +

    pub fn get_balance(&self) -> Result<u64, Error>[src]

    Return the balance, meaning the sum of this wallet’s unspent outputs’ values

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

    pub fn add_signer(
        &mut self,
        keychain: KeychainKind,
        ordering: SignerOrdering,
        signer: Arc<dyn Signer>
    )
    [src]

    Add an external signer

    +

    pub fn add_signer(
        &mut self,
        keychain: KeychainKind,
        ordering: SignerOrdering,
        signer: Arc<dyn Signer>
    )
    [src]

    Add an external signer

    See the signer module for an example.

    -

    pub fn add_address_validator(&mut self, validator: Arc<dyn AddressValidator>)[src]

    Add an address validator

    +

    pub fn add_address_validator(&mut self, validator: Arc<dyn AddressValidator>)[src]

    Add an address validator

    See the address_validator module for an example.

    -

    pub fn build_tx(
        &self
    ) -> TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, CreateTx>
    [src]

    Start building a transaction.

    +

    pub fn build_tx(
        &self
    ) -> TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, CreateTx>
    [src]

    Start building a transaction.

    This returns a blank TxBuilder from which you can specify the parameters for the transaction.

    Example

    @@ -43,7 +43,7 @@ wallet’s database.

    }; // sign and broadcast ...
    -

    pub fn build_fee_bump(
        &self,
        txid: Txid
    ) -> Result<TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, BumpFee>, Error>
    [src]

    Bump the fee of a transaction previously created with this wallet.

    +

    pub fn build_fee_bump(
        &self,
        txid: Txid
    ) -> Result<TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, BumpFee>, Error>
    [src]

    Bump the fee of a transaction previously created with this wallet.

    Returns an error if the transaction is already confirmed or doesn’t explicitly signal repalce by fee (RBF). If the transaction can be fee bumped then it returns a TxBuilder pre-populated with the inputs and outputs of the original transaction.

    @@ -72,7 +72,7 @@ only output’s value in order to increase the fees.

    let _ = wallet.sign(&mut psbt, SignOptions::default())?; let fee_bumped_tx = psbt.extract_tx(); // broadcast fee_bumped_tx to replace original
    -

    pub fn sign(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Sign a transaction with all the wallet’s signers, in the order specified by every signer’s +

    pub fn sign(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Sign a transaction with all the wallet’s signers, in the order specified by every signer’s SignerOrdering

    The SignOptions can be used to tweak the behavior of the software signers, and the way the transaction is finalized at the end. Note that it can’t be guaranteed that every @@ -87,40 +87,40 @@ in this library will.

    }; let finalized = wallet.sign(&mut psbt, SignOptions::default())?; assert!(finalized, "we should have signed all the inputs");
    -

    pub fn policies(&self, keychain: KeychainKind) -> Result<Option<Policy>, Error>[src]

    Return the spending policies for the wallet’s descriptor

    -

    pub fn public_descriptor(
        &self,
        keychain: KeychainKind
    ) -> Result<Option<ExtendedDescriptor>, Error>
    [src]

    Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has +

    pub fn policies(&self, keychain: KeychainKind) -> Result<Option<Policy>, Error>[src]

    Return the spending policies for the wallet’s descriptor

    +

    pub fn public_descriptor(
        &self,
        keychain: KeychainKind
    ) -> Result<Option<ExtendedDescriptor>, Error>
    [src]

    Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has the same structure but with every secret key removed

    This can be used to build a watch-only version of a wallet

    -

    pub fn finalize_psbt(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Try to finalize a PSBT

    +

    pub fn finalize_psbt(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Try to finalize a PSBT

    The SignOptions can be used to tweak the behavior of the finalizer.

    -

    pub fn secp_ctx(&self) -> &Secp256k1<All>[src]

    Return the secp256k1 context used for all signing operations

    -

    pub fn get_descriptor_for_keychain(
        &self,
        keychain: KeychainKind
    ) -> &ExtendedDescriptor
    [src]

    Returns the descriptor used to create adddresses for a particular keychain.

    -

    pub fn get_psbt_input(
        &self,
        utxo: LocalUtxo,
        sighash_type: Option<SigHashType>,
        only_witness_utxo: bool
    ) -> Result<Input, Error>
    [src]

    get the corresponding PSBT Input for a LocalUtxo

    -

    impl<B, D> Wallet<B, D> where
        B: Blockchain,
        D: BatchDatabase
    [src]

    pub fn new<E: IntoWalletDescriptor>(
        descriptor: E,
        change_descriptor: Option<E>,
        network: Network,
        database: D,
        client: B
    ) -> Result<Self, Error>
    [src]

    Create a new “online” wallet

    -

    pub fn sync<P: 'static + Progress>(
        &self,
        progress_update: P,
        max_address_param: Option<u32>
    ) -> Result<(), Error>
    [src]

    Sync the internal database with the blockchain

    -

    pub fn client(&self) -> &B[src]

    Return a reference to the internal blockchain client

    -

    pub fn network(&self) -> Network[src]

    Get the Bitcoin network the wallet is using.

    -

    pub fn broadcast(&self, tx: Transaction) -> Result<Txid, Error>[src]

    Broadcast a transaction to the network

    -

    Trait Implementations

    impl<B: Debug, D: Debug> Debug for Wallet<B, D>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    impl<B, D> !RefUnwindSafe for Wallet<B, D>

    impl<B, D> Send for Wallet<B, D> where
        B: Send,
        D: Send

    impl<B, D> !Sync for Wallet<B, D>

    impl<B, D> Unpin for Wallet<B, D> where
        B: Unpin,
        D: Unpin

    impl<B, D> !UnwindSafe for Wallet<B, D>

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    pub fn secp_ctx(&self) -> &Secp256k1<All>[src]

    Return the secp256k1 context used for all signing operations

    +

    pub fn get_descriptor_for_keychain(
        &self,
        keychain: KeychainKind
    ) -> &ExtendedDescriptor
    [src]

    Returns the descriptor used to create adddresses for a particular keychain.

    +

    pub fn get_psbt_input(
        &self,
        utxo: LocalUtxo,
        sighash_type: Option<SigHashType>,
        only_witness_utxo: bool
    ) -> Result<Input, Error>
    [src]

    get the corresponding PSBT Input for a LocalUtxo

    +

    impl<B, D> Wallet<B, D> where
        B: Blockchain,
        D: BatchDatabase
    [src]

    pub fn new<E: IntoWalletDescriptor>(
        descriptor: E,
        change_descriptor: Option<E>,
        network: Network,
        database: D,
        client: B
    ) -> Result<Self, Error>
    [src]

    Create a new “online” wallet

    +

    pub fn sync<P: 'static + Progress>(
        &self,
        progress_update: P,
        max_address_param: Option<u32>
    ) -> Result<(), Error>
    [src]

    Sync the internal database with the blockchain

    +

    pub fn client(&self) -> &B[src]

    Return a reference to the internal blockchain client

    +

    pub fn network(&self) -> Network[src]

    Get the Bitcoin network the wallet is using.

    +

    pub fn broadcast(&self, tx: Transaction) -> Result<Txid, Error>[src]

    Broadcast a transaction to the network

    +

    Trait Implementations

    impl<B: Debug, D: Debug> Debug for Wallet<B, D>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    impl<B, D> !RefUnwindSafe for Wallet<B, D>

    impl<B, D> Send for Wallet<B, D> where
        B: Send,
        D: Send

    impl<B, D> !Sync for Wallet<B, D>

    impl<B, D> Unpin for Wallet<B, D> where
        B: Unpin,
        D: Unpin

    impl<B, D> !UnwindSafe for Wallet<B, D>

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html index 61df1c01a9..3f1287cee8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html @@ -4,6 +4,6 @@ Change settings

    Trait bdk::wallet::IsDust[][src]

    pub trait IsDust {
         fn is_dust(&self) -> bool;
     }
    Expand description

    Trait to check if a value is below the dust limit

    -

    Required methods

    fn is_dust(&self) -> bool[src]

    Expand description

    Check whether or not a value is below dust limit

    -

    Implementations on Foreign Types

    impl IsDust for u64[src]

    fn is_dust(&self) -> bool[src]

    Implementors

    +

    Required methods

    fn is_dust(&self) -> bool[src]

    Check whether or not a value is below dust limit

    +

    Implementations on Foreign Types

    impl IsDust for u64[src]

    fn is_dust(&self) -> bool[src]

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html index 55376d0843..f8b854c159 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html @@ -8,53 +8,53 @@ }
    Expand description

    Policy regarding the use of change outputs when creating a transaction

    Variants

    -
    ChangeAllowed
    Expand description

    Use both change and non-change outputs (default)

    -
    OnlyChange
    Expand description

    Only use change outputs (see TxBuilder::only_spend_change)

    -
    ChangeForbidden
    Expand description

    Only use non-change outputs (see TxBuilder::do_not_spend_change)

    -

    Trait Implementations

    impl Clone for ChangeSpendPolicy[src]

    fn clone(&self) -> ChangeSpendPolicy[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for ChangeSpendPolicy[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for ChangeSpendPolicy[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl Hash for ChangeSpendPolicy[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl Ord for ChangeSpendPolicy[src]

    fn cmp(&self, other: &ChangeSpendPolicy) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

    fn eq(&self, other: &ChangeSpendPolicy) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    ChangeAllowed

    Use both change and non-change outputs (default)

    +
    OnlyChange

    Only use change outputs (see TxBuilder::only_spend_change)

    +
    ChangeForbidden

    Only use non-change outputs (see TxBuilder::do_not_spend_change)

    +

    Trait Implementations

    impl Clone for ChangeSpendPolicy[src]

    fn clone(&self) -> ChangeSpendPolicy[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for ChangeSpendPolicy[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for ChangeSpendPolicy[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    impl Hash for ChangeSpendPolicy[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl Ord for ChangeSpendPolicy[src]

    fn cmp(&self, other: &ChangeSpendPolicy) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

    fn eq(&self, other: &ChangeSpendPolicy) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

    fn partial_cmp(&self, other: &ChangeSpendPolicy) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

    fn partial_cmp(&self, other: &ChangeSpendPolicy) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Copy for ChangeSpendPolicy[src]

    impl Eq for ChangeSpendPolicy[src]

    impl StructuralEq for ChangeSpendPolicy[src]

    impl StructuralPartialEq for ChangeSpendPolicy[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Copy for ChangeSpendPolicy[src]

    impl Eq for ChangeSpendPolicy[src]

    impl StructuralEq for ChangeSpendPolicy[src]

    impl StructuralPartialEq for ChangeSpendPolicy[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html index 101a3d8efc..a00d03b6ae 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html @@ -8,54 +8,54 @@ }
    Expand description

    Ordering of the transaction’s inputs and outputs

    Variants

    -
    Shuffle
    Expand description

    Randomized (default)

    -
    Untouched
    Expand description

    Unchanged

    -
    Bip69Lexicographic
    Expand description

    BIP69 / Lexicographic

    -

    Implementations

    impl TxOrdering[src]

    pub fn sort_tx(&self, tx: &mut Transaction)[src]

    Sort transaction inputs and outputs by TxOrdering variant

    -

    Trait Implementations

    impl Clone for TxOrdering[src]

    fn clone(&self) -> TxOrdering[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for TxOrdering[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for TxOrdering[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl Hash for TxOrdering[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    -

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    -

    impl Ord for TxOrdering[src]

    fn cmp(&self, other: &TxOrdering) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    -

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    -

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    -

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    -

    impl PartialEq<TxOrdering> for TxOrdering[src]

    fn eq(&self, other: &TxOrdering) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Shuffle

    Randomized (default)

    +
    Untouched

    Unchanged

    +
    Bip69Lexicographic

    BIP69 / Lexicographic

    +

    Implementations

    impl TxOrdering[src]

    pub fn sort_tx(&self, tx: &mut Transaction)[src]

    Sort transaction inputs and outputs by TxOrdering variant

    +

    Trait Implementations

    impl Clone for TxOrdering[src]

    fn clone(&self) -> TxOrdering[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for TxOrdering[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for TxOrdering[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    +

    impl Hash for TxOrdering[src]

    fn hash<__H: Hasher>(&self, state: &mut __H)[src]

    Feeds this value into the given Hasher. Read more

    +

    fn hash_slice<H>(data: &[Self], state: &mut H) where
        H: Hasher
    1.3.0[src]

    Feeds a slice of this type into the given Hasher. Read more

    +

    impl Ord for TxOrdering[src]

    fn cmp(&self, other: &TxOrdering) -> Ordering[src]

    This method returns an Ordering between self and other. Read more

    +

    #[must_use]
    fn max(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the maximum of two values. Read more

    +

    #[must_use]
    fn min(self, other: Self) -> Self
    1.21.0[src]

    Compares and returns the minimum of two values. Read more

    +

    #[must_use]
    fn clamp(self, min: Self, max: Self) -> Self
    1.50.0[src]

    Restrict a value to a certain interval. Read more

    +

    impl PartialEq<TxOrdering> for TxOrdering[src]

    fn eq(&self, other: &TxOrdering) -> bool[src]

    This method tests for self and other values to be equal, and is used by ==. Read more

    -

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    -

    impl PartialOrd<TxOrdering> for TxOrdering[src]

    fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    -

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    -

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= +

    #[must_use]
    fn ne(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests for !=.

    +

    impl PartialOrd<TxOrdering> for TxOrdering[src]

    fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>[src]

    This method returns an ordering between self and other values if one exists. Read more

    +

    #[must_use]
    fn lt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than (for self and other) and is used by the < operator. Read more

    +

    #[must_use]
    fn le(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

    -

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    -

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= +

    #[must_use]
    fn gt(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than (for self and other) and is used by the > operator. Read more

    +

    #[must_use]
    fn ge(&self, other: &Rhs) -> bool
    1.0.0[src]

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

    -

    impl Copy for TxOrdering[src]

    impl Eq for TxOrdering[src]

    impl StructuralEq for TxOrdering[src]

    impl StructuralPartialEq for TxOrdering[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    impl Copy for TxOrdering[src]

    impl Eq for TxOrdering[src]

    impl StructuralEq for TxOrdering[src]

    impl StructuralPartialEq for TxOrdering[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<Q, K> Equivalent<K> for Q where
        Q: Eq + ?Sized,
        K: Borrow<Q> + ?Sized
    [src]

    pub fn equivalent(&self, key: &K) -> bool[src]

    Compare self to key and return true if they are equal.

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html index 8a36263587..9874f3f90d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html @@ -2,33 +2,33 @@

    Struct bdk::wallet::tx_builder::BumpFee[][src]

    pub struct BumpFee;
    Expand description

    Marker type to indicate the TxBuilder is being used to bump the fee of an existing transaction.

    -

    Trait Implementations

    impl Clone for BumpFee[src]

    fn clone(&self) -> BumpFee[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for BumpFee[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for BumpFee[src]

    fn default() -> BumpFee[src]

    Returns the “default value” for a type. Read more

    -

    impl TxBuilderContext for BumpFee[src]

    Auto Trait Implementations

    impl RefUnwindSafe for BumpFee

    impl Send for BumpFee

    impl Sync for BumpFee

    impl Unpin for BumpFee

    impl UnwindSafe for BumpFee

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Clone for BumpFee[src]

    fn clone(&self) -> BumpFee[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for BumpFee[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for BumpFee[src]

    fn default() -> BumpFee[src]

    Returns the “default value” for a type. Read more

    +

    impl TxBuilderContext for BumpFee[src]

    Auto Trait Implementations

    impl RefUnwindSafe for BumpFee

    impl Send for BumpFee

    impl Sync for BumpFee

    impl Unpin for BumpFee

    impl UnwindSafe for BumpFee

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html index 43c025e1a2..3a73095310 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html @@ -3,33 +3,33 @@

    Struct bdk::wallet::tx_builder::CreateTx[][src]

    pub struct CreateTx;
    Expand description

    Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed to bumping the fee of an existing one).

    -

    Trait Implementations

    impl Clone for CreateTx[src]

    fn clone(&self) -> CreateTx[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl Debug for CreateTx[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    impl Default for CreateTx[src]

    fn default() -> CreateTx[src]

    Returns the “default value” for a type. Read more

    -

    impl TxBuilderContext for CreateTx[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl Clone for CreateTx[src]

    fn clone(&self) -> CreateTx[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl Debug for CreateTx[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    impl Default for CreateTx[src]

    fn default() -> CreateTx[src]

    Returns the “default value” for a type. Read more

    +

    impl TxBuilderContext for CreateTx[src]

    Auto Trait Implementations

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html index c534cdafa5..96c69a092b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html @@ -33,9 +33,9 @@ as in the following example:

    At the moment coin_selection is an exception to the rule as it consumes self. This means it is usually best to call coin_selection on the return value of build_tx before assigning it.

    For further examples see this module’s documentation;

    -

    Implementations

    impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

    pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

    Set a custom fee rate

    -

    pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

    Set an absolute fee

    -

    pub fn policy_path(
        &mut self,
        policy_path: BTreeMap<String, Vec<usize>>,
        keychain: KeychainKind
    ) -> &mut Self
    [src]

    Set the policy path to use while creating the transaction for a given keychain.

    +

    Implementations

    impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

    pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

    Set a custom fee rate

    +

    pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

    Set an absolute fee

    +

    pub fn policy_path(
        &mut self,
        policy_path: BTreeMap<String, Vec<usize>>,
        keychain: KeychainKind
    ) -> &mut Self
    [src]

    Set the policy path to use while creating the transaction for a given keychain.

    This method accepts a map where the key is the policy node id (see Policy::id) and the value is the list of the indexes of the items that are intended to be satisfied from the policy node (see @@ -79,14 +79,14 @@ multiple entries can be added to the map, one for each node that requires an exp .add_recipient(to_address.script_pubkey(), 50_000) .policy_path(path, KeychainKind::External);

    -

    pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

    Add the list of outpoints to the internal list of UTXOs that must be spent.

    +

    pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

    Add the list of outpoints to the internal list of UTXOs that must be spent.

    If an error occurs while adding any of the UTXOs then none of them are added and the error is returned.

    These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

    -

    pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

    Add a utxo to the internal list of utxos that must be spent

    +

    pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

    Add a utxo to the internal list of utxos that must be spent

    These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

    -

    pub fn add_foreign_utxo(
        &mut self,
        outpoint: OutPoint,
        psbt_input: Input,
        satisfaction_weight: usize
    ) -> Result<&mut Self, Error>
    [src]

    Add a foreign UTXO i.e. a UTXO not owned by this wallet.

    +

    pub fn add_foreign_utxo(
        &mut self,
        outpoint: OutPoint,
        psbt_input: Input,
        satisfaction_weight: usize
    ) -> Result<&mut Self, Error>
    [src]

    Add a foreign UTXO i.e. a UTXO not owned by this wallet.

    At a minimum to add a foreign UTXO we need:

    1. outpoint: To add it to the raw transaction.
    2. @@ -117,58 +117,58 @@ of course check the real input weight matches the expected weight prior to broad

    Note unless you set only_witness_utxo any psbt_input you pass to this method must have non_witness_utxo set otherwise you will get an error when finish is called.

    -

    pub fn manually_selected_only(&mut self) -> &mut Self[src]

    Only spend utxos added by add_utxo.

    +

    pub fn manually_selected_only(&mut self) -> &mut Self[src]

    Only spend utxos added by add_utxo.

    The wallet will not add additional utxos to the transaction even if they are needed to make the transaction valid.

    -

    pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

    Replace the internal list of unspendable utxos with a new list

    +

    pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

    Replace the internal list of unspendable utxos with a new list

    It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over these. See the docs of the two linked methods for more details.

    -

    pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

    Add a utxo to the internal list of unspendable utxos

    +

    pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

    Add a utxo to the internal list of unspendable utxos

    It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over this. See the docs of the two linked methods for more details.

    -

    pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

    Sign with a specific sig hash

    +

    pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

    Sign with a specific sig hash

    Use this option very carefully

    -

    pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

    Choose the ordering for inputs and outputs of the transaction

    -

    pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

    Use a specific nLockTime while creating the transaction

    +

    pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

    Choose the ordering for inputs and outputs of the transaction

    +

    pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

    Use a specific nLockTime while creating the transaction

    This can cause conflicts if the wallet’s descriptors contain an “after” (OP_CLTV) operator.

    -

    pub fn version(&mut self, version: i32) -> &mut Self[src]

    Build a transaction with a specific version

    +

    pub fn version(&mut self, version: i32) -> &mut Self[src]

    Build a transaction with a specific version

    The version should always be greater than 0 and greater than 1 if the wallet’s descriptors contain an “older” (OP_CSV) operator.

    -

    pub fn do_not_spend_change(&mut self) -> &mut Self[src]

    Do not spend change outputs

    +

    pub fn do_not_spend_change(&mut self) -> &mut Self[src]

    Do not spend change outputs

    This effectively adds all the change outputs to the “unspendable” list. See TxBuilder::unspendable.

    -

    pub fn only_spend_change(&mut self) -> &mut Self[src]

    Only spend change outputs

    +

    pub fn only_spend_change(&mut self) -> &mut Self[src]

    Only spend change outputs

    This effectively adds all the non-change outputs to the “unspendable” list. See TxBuilder::unspendable.

    -

    pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

    pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

    pub fn only_witness_utxo(&mut self) -> &mut Self[src]

    Only Fill-in the psbt::Input::witness_utxo field when spending from +

    pub fn only_witness_utxo(&mut self) -> &mut Self[src]

    Only Fill-in the psbt::Input::witness_utxo field when spending from SegWit descriptors.

    This reduces the size of the PSBT, but some signers might reject them due to the lack of the non_witness_utxo.

    -

    pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

    Fill-in the psbt::Output::redeem_script and +

    pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

    Fill-in the psbt::Output::redeem_script and psbt::Output::witness_script fields.

    This is useful for signers which always require it, like ColdCard hardware wallets.

    -

    pub fn add_global_xpubs(&mut self) -> &mut Self[src]

    Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external +

    pub fn add_global_xpubs(&mut self) -> &mut Self[src]

    Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external and internal descriptors

    This is useful for offline signers that take part to a multisig. Some hardware wallets like BitBox and ColdCard are known to require this.

    -

    pub fn drain_wallet(&mut self) -> &mut Self[src]

    Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

    -

    pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
        self,
        coin_selection: P
    ) -> TxBuilder<'a, B, D, P, Ctx>
    [src]

    Choose the coin selection algorithm

    +

    pub fn drain_wallet(&mut self) -> &mut Self[src]

    Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

    +

    pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
        self,
        coin_selection: P
    ) -> TxBuilder<'a, B, D, P, Ctx>
    [src]

    Choose the coin selection algorithm

    Overrides the DefaultCoinSelectionAlgorithm.

    Note that this function consumes the builder and returns it so it is usually best to put this as the first call on the builder.

    -

    pub fn finish(self) -> Result<(Psbt, TransactionDetails), Error>[src]

    Finish the building the transaction.

    +

    pub fn finish(self) -> Result<(Psbt, TransactionDetails), Error>[src]

    Finish the building the transaction.

    Returns the BIP174 “PSBT” and summary details about the transaction.

    -

    pub fn enable_rbf(&mut self) -> &mut Self[src]

    Enable signaling RBF

    +

    pub fn enable_rbf(&mut self) -> &mut Self[src]

    Enable signaling RBF

    This will use the default nSequence value of 0xFFFFFFFD.

    -

    pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

    Enable signaling RBF with a specific nSequence value

    +

    pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

    Enable signaling RBF with a specific nSequence value

    This can cause conflicts if the wallet’s descriptors contain an “older” (OP_CSV) operator and the given nsequence is lower than the CSV value.

    If the nsequence is higher than 0xFFFFFFFD an error will be thrown, since it would not be a valid nSequence to signal RBF.

    -

    impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

    pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

    Replace the recipients already added with a new list

    -

    pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

    Add a recipient to the internal list

    -

    pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

    Set a single recipient that will get all the selected funds minus the fee. No change will +

    impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

    pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

    Replace the recipients already added with a new list

    +

    pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

    Add a recipient to the internal list

    +

    pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

    Set a single recipient that will get all the selected funds minus the fee. No change will be created

    This method overrides any recipient set with set_recipients or add_recipient.

    @@ -179,39 +179,39 @@ and selecting them with or When bumping the fees of a transaction made with this option, the user should remeber to add maintain_single_recipient to correctly update the single output instead of adding one more for the change.

    -

    impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

    pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

    Bump the fees of a transaction made with set_single_recipient

    +

    impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

    pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

    Bump the fees of a transaction made with set_single_recipient

    Unless extra inputs are specified with add_utxo, this flag will make bump_fee reduce the value of the existing output, or fail if it would be consumed entirely given the higher new fee rate.

    If extra inputs are added and they are not entirely consumed in fees, a change output will not be added; the existing output will simply grow in value.

    Fails if the transaction has more than one outputs.

    -

    Trait Implementations

    impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

    fn clone(&self) -> Self[src]

    Returns a copy of the value. Read more

    -

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    -

    impl<'a, B: Debug, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, B, D, Cs, Ctx>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    impl<'a, B, D, Cs, Ctx> !RefUnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> !Send for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> !Sync for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> Unpin for TxBuilder<'a, B, D, Cs, Ctx> where
        Cs: Unpin,
        Ctx: Unpin

    impl<'a, B, D, Cs, Ctx> !UnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    -

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    -

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

    fn clone(&self) -> Self[src]

    Returns a copy of the value. Read more

    +

    fn clone_from(&mut self, source: &Self)1.0.0[src]

    Performs copy-assignment from source. Read more

    +

    impl<'a, B: Debug, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, B, D, Cs, Ctx>[src]

    fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    impl<'a, B, D, Cs, Ctx> !RefUnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> !Send for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> !Sync for TxBuilder<'a, B, D, Cs, Ctx>

    impl<'a, B, D, Cs, Ctx> Unpin for TxBuilder<'a, B, D, Cs, Ctx> where
        Cs: Unpin,
        Ctx: Unpin

    impl<'a, B, D, Cs, Ctx> !UnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

    Blanket Implementations

    impl<T> Any for T where
        T: 'static + ?Sized
    [src]

    pub fn type_id(&self) -> TypeId[src]

    Gets the TypeId of self. Read more

    +

    impl<T> Borrow<T> for T where
        T: ?Sized
    [src]

    pub fn borrow(&self) -> &T[src]

    Immutably borrows from an owned value. Read more

    +

    impl<T> BorrowMut<T> for T where
        T: ?Sized
    [src]

    pub fn borrow_mut(&mut self) -> &mut T[src]

    Mutably borrows from an owned value. Read more

    +

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    +

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    +

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    +

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    +

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    +

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    +

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    +

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    +

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    +

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    +

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    +

    pub fn clone_into(&self, target: &mut T)[src]

    🔬 This is a nightly-only experimental API. (toowned_clone_into)

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    +

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    +

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    +

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    +

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    +

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/dark.css b/static/docs-rs/bdk/nightly/latest/dark.css index 4f3acd95a7..12346e438f 100644 --- a/static/docs-rs/bdk/nightly/latest/dark.css +++ b/static/docs-rs/bdk/nightly/latest/dark.css @@ -1 +1 @@ -body{background-color:#353535;color:#ddd;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#d2d2d2;}.in-band{background-color:#353535;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#2A2A2A;}pre,.rustdoc.source .example-wrap{background-color:#2A2A2A;}.sidebar{background-color:#505050;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}*{scrollbar-color:rgb(64,65,67) #717171;}.sidebar{scrollbar-color:rgba(32,34,37,.6) transparent;}::-webkit-scrollbar-track{background-color:#717171;}::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar::-webkit-scrollbar-track{background-color:#717171;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar .current{background-color:#333;}.source .sidebar{background-color:#353535;}.sidebar .location{border-color:#fff;background:#575757;color:#DDD;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#DDD;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#ddd;}.content .highlighted{color:#eee !important;background-color:#616161;}.content .highlighted a,.content .highlighted span{color:#eee !important;}.content .highlighted.trait{background-color:#013191;}.content .highlighted.traitalias{background-color:#013191;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.mod{background-color:#803a1b;}.content .highlighted.externcrate{background-color:#396bac;}.content .highlighted.enum{background-color:#5b4e68;}.content .highlighted.struct{background-color:#194e9f;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#4950ed;}.content .highlighted.type{background-color:#38902c;}.content .highlighted.foreigntype{background-color:#b200d6;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#217d1c;}.content .highlighted.constant,.content .highlighted.static{background-color:#0063cc;}.content .highlighted.primitive{background-color:#00708a;}.content .highlighted.keyword{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#82b089;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#ff7f00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#dd7de8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#a6ae37;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#82a5c9;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#43aec7;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#bda000;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b397da;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav:not(.sidebar){border-bottom-color:#4e4e4e;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#ddd;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#D2991D;}a.test-arrow{color:#dedede;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#111;background-color:#f0f0f0;border-color:#000;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input{color:#111;background-color:#f0f0f0;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input:focus{border-color:#008dfd;}.search-input:disabled{background-color:#c5c4c4;}#crate-search+.search-input:focus{box-shadow:0 0 8px 4px #078dd8;}.module-item .stab,.import-item .stab{color:#ddd;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}#help>div{background:#4d4d4d;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}#help dt{border-color:#bfbfbf;background:rgba(0,0,0,0);}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#ddd;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#505050;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#505050;border-right-color:#000;}#sidebar-filler{background-color:#505050;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button,#copy-path{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#ffb900;}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}@media (max-width:700px){#theme-picker{background:#f0f0f0;}}#all-types{background-color:#505050;}#all-types:hover{background-color:#606060;}.search-results td span.alias{color:#fff;}.search-results td span.grey{color:#ccc;}#sidebar-toggle{background-color:#565656;}#sidebar-toggle:hover{background-color:#676767;}#source-sidebar{background-color:#565656;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#444;}div.files>.selected{background-color:#333;}.setting-line>.title{border-bottom-color:#ddd;} \ No newline at end of file +body{background-color:#353535;color:#ddd;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#d2d2d2;}.in-band{background-color:#353535;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#2A2A2A;}pre,.rustdoc.source .example-wrap{background-color:#2A2A2A;}.sidebar{background-color:#505050;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}*{scrollbar-color:rgb(64,65,67) #717171;}.sidebar{scrollbar-color:rgba(32,34,37,.6) transparent;}::-webkit-scrollbar-track{background-color:#717171;}::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar::-webkit-scrollbar-track{background-color:#717171;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar .current{background-color:#333;}.source .sidebar{background-color:#353535;}.sidebar .location{border-color:#fff;background:#575757;color:#DDD;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#DDD;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#ddd;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-mod:focus{background-color:#803a1b;}a.result-externcrate:focus{background-color:#396bac;}a.result-enum:focus{background-color:#5b4e68;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#38902c;}a.result-foreigntype:focus{background-color:#b200d6;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#0063cc;}a.result-primitive:focus{background-color:#00708a;}a.result-keyword:focus{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#82b089;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#ff7f00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#dd7de8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#a6ae37;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#82a5c9;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#43aec7;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#bda000;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b397da;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav:not(.sidebar){border-bottom-color:#4e4e4e;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#ddd;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#D2991D;}a.test-arrow{color:#dedede;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#111;background-color:#f0f0f0;border-color:#000;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input{color:#111;background-color:#f0f0f0;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input:focus{border-color:#008dfd;}.search-input:disabled{background-color:#c5c4c4;}#crate-search+.search-input:focus{box-shadow:0 0 8px 4px #078dd8;}.module-item .stab,.import-item .stab{color:#ddd;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}#help>div{background:#4d4d4d;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}#help dt{border-color:#bfbfbf;background:rgba(0,0,0,0);}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#ddd;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#505050;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#505050;border-right-color:#000;}#sidebar-filler{background-color:#505050;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#ffb900;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}@media (max-width:700px){#theme-picker{background:#f0f0f0;}}#all-types{background-color:#505050;}#all-types:hover{background-color:#606060;}.search-results td span.alias{color:#fff;}.search-results td span.grey{color:#ccc;}#sidebar-toggle{background-color:#565656;}#sidebar-toggle:hover{background-color:#676767;}#source-sidebar{background-color:#565656;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#444;}div.files>.selected{background-color:#333;}.setting-line>.title{border-bottom-color:#ddd;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/light.css b/static/docs-rs/bdk/nightly/latest/light.css index 2a18b96f0a..f28a9d9b20 100644 --- a/static/docs-rs/bdk/nightly/latest/light.css +++ b/static/docs-rs/bdk/nightly/latest/light.css @@ -1 +1 @@ - body{background-color:white;color:black;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar{background-color:#F1F1F1;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.logo-container.rust-logo>img{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#fff;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#f6fdb0 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#ddd;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.content .highlighted{color:#000 !important;background-color:#ccc;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted.trait{background-color:#c7b6ff;}.content .highlighted.traitalias{background-color:#c7b6ff;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.enum{background-color:#b4d1b9;}.content .highlighted.struct{background-color:#e7b1a0;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#c6afb3;}.content .highlighted.type{background-color:#ffc891;}.content .highlighted.foreigntype{background-color:#f5c4ff;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#8ce488;}.content .highlighted.constant,.content .highlighted.static{background-color:#c3e0ff;}.content .highlighted.primitive{background-color:#9aecff;}.content .highlighted.keyword{background-color:#f99650;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#508157;}.content span.struct,.content a.struct,.block a.current.struct{color:#ad448e;}.content span.type,.content a.type,.block a.current.type{color:#ba5d00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#cd00e2;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#767b27;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#546e8a;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2c8093;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#4d76ae;}.content span.trait,.content a.trait,.block a.current.trait{color:#7c5af3;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#6841f1;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#9a6e31;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#000;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#3873AD;}a.test-arrow{color:#f5f5f5;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}.search-input:disabled{background-color:#e6e6e6;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:#FDFFD3;border-right:3px solid #ffb44c;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F1F1F1;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F1F1F1;border-right-color:#000;}#sidebar-filler{background-color:#F1F1F1;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button,#copy-path{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#717171;}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results td span.alias{color:#000;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#F1F1F1;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F1F1F1;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;} \ No newline at end of file + body{background-color:white;color:black;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar{background-color:#F1F1F1;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.logo-container.rust-logo>img{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#fff;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#f6fdb0 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#ddd;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#b4d1b9;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#ffc891;}a.result-foreigntype:focus{background-color:#f5c4ff;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#c3e0ff;}a.result-primitive:focus{background-color:#9aecff;}a.result-keyword:focus{background-color:#f99650;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#508157;}.content span.struct,.content a.struct,.block a.current.struct{color:#ad448e;}.content span.type,.content a.type,.block a.current.type{color:#ba5d00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#cd00e2;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#767b27;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#546e8a;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2c8093;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#4d76ae;}.content span.trait,.content a.trait,.block a.current.trait{color:#7c5af3;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#6841f1;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#9a6e31;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#000;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#3873AD;}a.test-arrow{color:#f5f5f5;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}.search-input:disabled{background-color:#e6e6e6;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:#FDFFD3;border-right:3px solid #ffb44c;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F1F1F1;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F1F1F1;border-right-color:#000;}#sidebar-filler{background-color:#F1F1F1;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,#help-button{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results td span.alias{color:#000;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#F1F1F1;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F1F1F1;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/main.js b/static/docs-rs/bdk/nightly/latest/main.js index 25e23971df..bbf02d9f1a 100644 --- a/static/docs-rs/bdk/nightly/latest/main.js +++ b/static/docs-rs/bdk/nightly/latest/main.js @@ -1,5 +1,5 @@ -if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value;window.searchIndexJS=rustdocVars.attributes["data-search-index-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=["ayu","dark","light"];function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:null,titleBeforeSearch:document.title,timeout:null,currentTab:0,mouseMovedAfterSearch:true,clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});document.addEventListener("mousemove",function(){searchState.mouseMovedAfterSearch=true});search_input.removeAttribute('disabled');searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&!hasClass(help,"hidden")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(!hasClass(search,"hidden")){searchState.clearInputTimeout();ev.preventDefault();searchState.hideResults(search)}searchState.defocus();hideThemeButtonState()}var disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:if(getThemePickerElement().parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id===THEME_PICKER_ELEMENT_ID&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i"+""+"
    "+code.outerHTML+"
    ";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){var innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}var sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(e.parentNode.id!=="main"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}function collapseDocs(toggle,mode){if(!toggle||!toggle.parentNode){return}function adjustToggle(arg){return function(e){if(hasClass(e,"toggle-label")){if(arg){e.style.display="inline-block"}else{e.style.display="none"}}if(hasClass(e,"inner")){e.innerHTML=labelForToggleButton(arg)}}}function implHider(addOrRemove,fullHide){return function(n){var shouldHide=fullHide||hasClass(n,"method")||hasClass(n,"associatedconstant");if(shouldHide||hasClass(n,"type")){if(shouldHide){if(addOrRemove){addClass(n,"hidden-by-impl-hider")}else{removeClass(n,"hidden-by-impl-hider")}}var ns=n.nextElementSibling;while(ns&&(hasClass(ns,"docblock")||hasClass(ns,"item-info"))){if(addOrRemove){addClass(ns,"hidden-by-impl-hider")}else{removeClass(ns,"hidden-by-impl-hider")}ns=ns.nextElementSibling}}}}var relatedDoc;var action=mode;if(!hasClass(toggle.parentNode,"impl")){relatedDoc=toggle.parentNode.nextElementSibling;if(hasClass(relatedDoc,"item-info")){relatedDoc=relatedDoc.nextElementSibling}if(hasClass(relatedDoc,"docblock")){if(mode==="toggle"){if(hasClass(relatedDoc,"hidden-by-usual-hider")){action="show"}else{action="hide"}}if(action==="hide"){addClass(relatedDoc,"hidden-by-usual-hider");onEachLazy(toggle.childNodes,adjustToggle(true));addClass(toggle.parentNode,"collapsed")}else if(action==="show"){removeClass(relatedDoc,"hidden-by-usual-hider");removeClass(toggle.parentNode,"collapsed");onEachLazy(toggle.childNodes,adjustToggle(false))}}}else{var parentElem=toggle.parentNode;relatedDoc=parentElem;var docblock=relatedDoc.nextElementSibling;while(!hasClass(relatedDoc,"impl-items")){relatedDoc=relatedDoc.nextElementSibling}if(!relatedDoc&&!hasClass(docblock,"docblock")){return}if(mode==="toggle"){if(hasClass(relatedDoc,"fns-now-collapsed")||hasClass(docblock,"hidden-by-impl-hider")){action="show"}else{action="hide"}}var dontApplyBlockRule=toggle.parentNode.parentNode.id!=="main";if(action==="show"){removeClass(relatedDoc,"fns-now-collapsed");if(!hasClass(docblock,"item-info")){removeClass(docblock,"hidden-by-usual-hider")}onEachLazy(toggle.childNodes,adjustToggle(false,dontApplyBlockRule));onEachLazy(relatedDoc.childNodes,implHider(false,dontApplyBlockRule))}else if(action==="hide"){addClass(relatedDoc,"fns-now-collapsed");if(!hasClass(docblock,"item-info")){addClass(docblock,"hidden-by-usual-hider")}onEachLazy(toggle.childNodes,adjustToggle(true,dontApplyBlockRule));onEachLazy(relatedDoc.childNodes,implHider(true,dontApplyBlockRule))}}}function collapseNonInherent(e){var n=e.parentElement;if(n.id.match(/^impl(?:-\d+)?$/)===null){if(hasClass(n,"impl")){collapseDocs(e,"hide")}}}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";var impl_list=document.getElementById("trait-implementations-list");if(impl_list!==null){onEachLazy(impl_list.getElementsByClassName("rustdoc-toggle"),function(e){collapseNonInherent(e)})}var blanket_list=document.getElementById("blanket-implementations-list");if(blanket_list!==null){onEachLazy(blanket_list.getElementsByClassName("rustdoc-toggle"),function(e){collapseNonInherent(e)})}if(hideMethodDocs){onEachLazy(document.getElementsByClassName("method"),function(e){var toggle=e.parentNode;if(toggle){toggle=toggle.parentNode}if(toggle&&toggle.tagName==="DETAILS"){toggle.open=false}})}onEachLazy(document.getElementsByTagName("details"),function(e){var showLargeItem=!hideLargeItemContents&&hasClass(e,"type-contents-toggle");var showImplementor=!hideImplementors&&hasClass(e,"implementors-toggle");if(showLargeItem||showImplementor){e.open=true}});var currentType=document.getElementsByClassName("type-decl")[0];if(currentType){currentType=currentType.getElementsByClassName("rust")[0];if(currentType){onEachLazy(currentType.classList,function(item){if(item!=="main"){return true}})}}var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;ithe rustdoc book.";var container=document.createElement("div");var shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["T","Focus the theme picker menu"],["↑","Move up in search results"],["↓","Move down in search results"],["ctrl + ↑ / ↓","Switch result tab"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(function(x){return"
    "+x[0].split(" ").map(function(y,index){return(index&1)===0?""+y+"":" "+y+" "}).join("")+"
    "+x[1]+"
    "}).join("");var div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";var infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ +if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value;window.searchIndexJS=rustdocVars.attributes["data-search-index-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=["ayu","dark","light"];function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});search_input.removeAttribute('disabled');searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&!hasClass(help,"hidden")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(search&&!hasClass(search,"hidden")){searchState.clearInputTimeout();ev.preventDefault();searchState.hideResults(search)}searchState.defocus();hideThemeButtonState()}var disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:if(getThemePickerElement().parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id===THEME_PICKER_ELEMENT_ID&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i"+""+"
    "+code.outerHTML+"
    ";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){var innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}var sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(e.parentNode.id!=="main"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var hideImplementations=getSettingValue("auto-hide-trait-implementations")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function openImplementors(id){var list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),function(e){e.open=true})}}if(!hideImplementations){openImplementors("trait-implementations-list");openImplementors("blanket-implementations-list")}if(!hideImplementors){openImplementors("implementors-list")}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;ithe rustdoc book.";var container=document.createElement("div");var shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["T","Focus the theme picker menu"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(function(x){return"
    "+x[0].split(" ").map(function(y,index){return(index&1)===0?""+y+"":" "+y+" "}).join("")+"
    "+x[1]+"
    "}).join("");var div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";var infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ enum, trait, type, macro, \ and const.","Search functions by type signature (e.g., vec -> usize or \ diff --git a/static/docs-rs/bdk/nightly/latest/rustdoc.css b/static/docs-rs/bdk/nightly/latest/rustdoc.css index 5c4877c0da..ec9cf3e9bb 100644 --- a/static/docs-rs/bdk/nightly/latest/rustdoc.css +++ b/static/docs-rs/bdk/nightly/latest/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff") format('woff');font-display:swap;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant,h4.associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h4.method.trait-impl,h3.type,h4.type.trait-impl,h4.associatedconstant.trait-impl,h4.associatedtype.trait-impl{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.content table td:first-child>a,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,details.undocumented>summary::before,.content ul.crate a.crate,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;padding-right:1ex;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}#main>.docblock h1{font-size:1.3em;}#main>.docblock h2{font-size:1.15em;}#main>.docblock h3,#main>.docblock h4,#main>.docblock h5{font-size:1em;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits):not(.methods){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype,.content .impl-items details>summary>.type,.impl-items details>summary>.associatedconstant,.impl-items details>summary>.associatedtype{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results .desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results a{display:block;}.content .search-results td:first-child{padding-right:0;width:50%;}.content .search-results td:first-child a{padding-right:10px;}.content .search-results td:first-child a:after{clear:both;content:"";display:block;}.content .search-results td:first-child a span{float:left;}tr.result span.primitive::after{content:' (primitive type)';font-style:italic;}tr.result span.keyword::after{content:' (keyword)';font-style:italic;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.code-attribute{font-weight:300;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.sub-variant,.sub-variant>h3{margin-top:0px !important;padding-top:1px;}#main>details>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}#main>.variant,#main>.structfield{display:block;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{margin-left:10px;padding:0;padding-left:2px;}#copy-path>img{margin-bottom:2px;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary,details.undocumented>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker,details.undocumented>summary::-webkit-details-marker,details.undocumented>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"[+]";font-weight:300;font-size:0.8em;letter-spacing:1px;cursor:pointer;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:16px;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-23px;top:initial;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,.undocumented>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;top:3px;left:-2px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle,details.undocumented{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before{content:"[−]";display:inline;}details.undocumented>summary::before{content:"[+] Show hidden undocumented items";cursor:pointer;font-size:16px;font-weight:300;}details.undocumented[open] >summary::before{content:"[−] Hide undocumented items";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content h4>.out-of-band{position:inherit;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype{display:flex;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.search-container>div{width:calc(100% - 32px);}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff") format('woff');font-display:swap;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant,h4.associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h4.method.trait-impl,h3.type,h4.type.trait-impl,h4.associatedconstant.trait-impl,h4.associatedtype.trait-impl{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,details.undocumented>summary::before,.content ul.crate a.crate,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;padding-right:1ex;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}.top-doc .docblock h1{font-size:1.3em;}.top-doc .docblock h2{font-size:1.15em;}.top-doc .docblock h3,.top-doc .docblock h4,.top-doc .docblock h5{font-size:1em;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits):not(.methods){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype,.content .impl-items details>summary>.type,.impl-items details>summary>.associatedconstant,.impl-items details>summary>.associatedtype{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.code-attribute{font-weight:300;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.sub-variant,.sub-variant>h3{margin-top:0px !important;padding-top:1px;}#main>details>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}#main>.variant,#main>.structfield{display:block;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,#help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,#help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary,details.undocumented>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker,details.undocumented>summary::-webkit-details-marker,details.undocumented>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"[+]";font-weight:300;font-size:0.8em;letter-spacing:1px;cursor:pointer;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:16px;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-23px;top:initial;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,.undocumented>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;top:3px;left:-2px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle,details.undocumented{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before{content:"[−]";display:inline;}details.undocumented>summary::before{content:"[+] Show hidden undocumented items";cursor:pointer;font-size:16px;font-weight:300;}details.undocumented[open] >summary::before{content:"[−] Hide undocumented items";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content h4>.out-of-band{position:inherit;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype{display:flex;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.search-container>div{width:calc(100% - 32px);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description{padding-left:2em;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/search-index.js b/static/docs-rs/bdk/nightly/latest/search-index.js index 4071317c99..2630382dc0 100644 --- a/static/docs-rs/bdk/nightly/latest/search-index.js +++ b/static/docs-rs/bdk/nightly/latest/search-index.js @@ -1,4 +1,4 @@ var searchIndex = JSON.parse('{\ -"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","t":[13,13,13,13,13,13,13,13,13,4,13,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,13,13,4,3,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,0,11,11,11,11,11,11,12,11,12,12,12,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,8,4,16,8,13,13,3,3,8,6,0,11,11,11,11,11,11,10,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,0,10,11,11,11,11,10,10,10,10,11,11,11,11,11,11,11,5,5,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,4,4,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,3,3,3,4,13,13,13,13,13,13,13,13,3,13,13,13,3,13,13,13,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,11,11,11,11,11,11,11,12,11,11,13,3,3,4,13,13,13,13,13,13,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,16,8,8,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,10,10,10,10,10,4,4,4,13,13,13,13,13,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,6,3,4,6,8,6,8,6,4,3,13,8,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,5,13,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,6,13,13,13,13,13,13,13,13,13,13,13,3,3,4,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,3,3,16,16,8,4,8,8,3,8,13,13,13,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,6,13,13,5,10,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,4,3,4,6,3,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,8,13,13,13,13,3,11,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,0,11,11,11,11,8,4,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,3,8,3,6,3,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,3,3,13,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["AddressValidator","Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","CompactFilters","Descriptor","Electrum","Encode","Error","Esplora","External","FeeRate","FeeRateTooLow","FeeTooLow","Foreign","Generic","Hex","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","InvalidProgressValue","InvalidU32Bytes","IrreplaceableTransaction","Json","Key","KeychainKind","Local","LocalUtxo","Miniscript","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","ProgressUpdateError","Psbt","ScriptDoesntHaveAddressForm","Secp256k1","Signer","SingleRecipientMultipleOutputs","SingleRecipientNoInputs","Sled","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","UnknownUtxo","Utxo","WeightedUtxo","as_byte","as_ref","as_sat_vb","base32_len","blockchain","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","database","default","default","default_min_relay_fee","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor","descriptor","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fees","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_vb","hash","height","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into_descriptor_key","into_extended_key","into_wallet_descriptor","into_wallet_descriptor","keychain","keys","ne","ne","ne","ne","ne","outpoint","outpoint","partial_cmp","received","satisfaction_weight","sent","serialize","serialize","serialize","timestamp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","AccurateFees","Blockchain","Capability","Config","ConfigurableBlockchain","FullHistory","GetAnyTx","LogProgress","NoopProgress","Progress","ProgressData","any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone","clone_into","clone_into","clone_into","compact_filters","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","electrum","eq","equivalent","esplora","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","hash","init","init","init","into","into","into","log_progress","noop_progress","progress","setup","sync","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","AnyBlockchain","AnyBlockchainConfig","CompactFilters","CompactFilters","Electrum","Electrum","Esplora","Esplora","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","serialize","setup","sync","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Bip158","BitcoinPeerConfig","CompactFiltersBlockchain","CompactFiltersBlockchainConfig","CompactFiltersError","DataCorruption","Db","Global","InvalidFilter","InvalidFilterHeader","InvalidHeaders","InvalidResponse","Io","Mempool","MissingBlock","NoPeers","NotConnected","Peer","PeerBloomDisabled","Time","Timeout","add_tx","address","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone_into","clone_into","connect","connect_proxy","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","eq","eq","estimate_fee","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_mempool","get_network","get_tx","get_tx","get_version","has_tx","init","init","init","init","init","init","into","into","into","into","into","into","is_connected","iter_txs","ne","ne","network","new","new","peers","recv","send","serialize","serialize","setup","skip_blocks","socks5","socks5_credentials","storage_dir","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","ElectrumBlockchain","ElectrumBlockchainConfig","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","retry","serialize","setup","socks5","timeout","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","url","vzip","vzip","BitcoinEncoding","EsploraBlockchain","EsploraBlockchainConfig","EsploraError","HeaderHashNotFound","HeaderHeightNotFound","Hex","Parsing","Reqwest","TransactionNotFound","base_url","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone_into","concurrency","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","drop","drop","drop","eq","estimate_fee","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","init","into","into","into","ne","new","serialize","setup","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Batch","BatchDatabase","BatchOperations","Config","ConfigurableDatabase","Database","any","begin_batch","check_descriptor_checksum","commit_batch","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","memory","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","AnyBatch","AnyDatabase","AnyDatabaseConfig","Memory","Memory","Memory","Sled","Sled","Sled","SledDbConfiguration","begin_batch","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_descriptor_checksum","commit_batch","del_last_index","del_last_index","del_path_from_script_pubkey","del_path_from_script_pubkey","del_raw_tx","del_raw_tx","del_script_pubkey_from_path","del_script_pubkey_from_path","del_tx","del_tx","del_utxo","del_utxo","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","init","init","init","into","into","into","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","path","serialize","serialize","set_last_index","set_last_index","set_raw_tx","set_raw_tx","set_script_pubkey","set_script_pubkey","set_tx","set_tx","set_utxo","set_utxo","tree_name","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","MemoryDatabase","begin_batch","borrow","borrow_mut","check_descriptor_checksum","commit_batch","default","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","deref","deref_mut","drop","fmt","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","new","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","try_from","try_into","type_id","vzip","Bare","DerivedDescriptor","DerivedDescriptorKey","Descriptor","ExtendedDescriptor","ExtractPolicy","HdKeyPaths","IntoWalletDescriptor","KeyMap","Legacy","Miniscript","Pkh","ScriptContext","Segwitv0","Sh","Wpkh","Wsh","address","as_enum","as_enum","as_inner","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","desc_type","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","error","explicit_script","ext","extract_policy","extract_policy","extract_policy","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from_ast","from_str","from_str","from_str_insane","from_tree","from_tree","get_leaf_pk","get_leaf_pk_pkh","get_leaf_pkh","get_nth_child","get_nth_pk","get_nth_pk_pkh","get_nth_pkh","get_satisfaction","has_mixed_timelocks","has_repeated_keys","hash","hash","hash","hash","hash_to_hash160","init","init","init","init","init","into","into","into","into","into","into_inner","into_wallet_descriptor","is_deriveable","is_non_malleable","is_uncompressed","iter","iter_pk","iter_pk_pkh","iter_pkh","lift","lift","lift_check","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","ne","new","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_wpkh","new_wsh","new_wsh_sortedmulti","node","other_top_level_checks","parse","parse_descriptor","parse_insane","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialized_len","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_public_key","to_string","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","within_resource_limits","get_checksum","Base58","Bip32","DuplicatedKeys","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","deref","deref_mut","drop","fmt","fmt","from","from","from","from","from","from","from","from","init","into","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","Sha256Preimage","Signature","SignatureKey","Thresh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","contribution","csv","default","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","id","id","init","init","init","init","init","init","init","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","ne","ne","partial_cmp","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","2","2","2","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","drop","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","DescriptorSinglePriv","DescriptorSinglePub","Entropy","Error","ExtScriptContext","ExtendedKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","SinglePriv","SinglePub","SortedMultiVec","ValidNetworks","XPrv","XPub","any_network","as_enum","as_public","bip39","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_local_validity","check_terminal_non_malleable","check_witness","check_witness","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","compressed","default","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","derive_public_key","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","hash","hash","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_uncompressed","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","ne","ne","ne","new","origin","origin","other_top_level_checks","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","pks","sanity_check","satisfy","script_size","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_string","to_string","to_string","to_string","top_level_checks","top_level_checks","top_level_type_check","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","ChineseSimplified","ChineseTraditional","English","French","Italian","Japanese","Korean","Language","Mnemonic","MnemonicType","MnemonicWithPassphrase","Seed","Spanish","Words12","Words15","Words18","Words21","Words24","as_bytes","as_ref","as_ref","base32_len","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","checksum_bits","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","entropy","entropy_bits","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_key_size","for_phrase","for_word_count","from","from","from","from","from_entropy","from_language_code","from_phrase","generate_with_entropy","init","init","init","init","into","into","into","into","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_phrase","language","new","new","phrase","to_hex","to_hex","to_owned","to_owned","to_owned","to_owned","to_string","to_string","total_bits","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","validate","vzip","vzip","vzip","vzip","word_count","wordlist","wordmap","write_base32","zeroize","zeroize","zeroize","AddressIndex","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address_validator","borrow","borrow","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref_mut","deref_mut","drop","drop","export","finalize_psbt","fmt","fmt","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","init","init","into","into","is_dust","is_mine","list_transactions","list_unspent","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","try_from","try_from","try_into","try_into","tx_builder","type_id","type_id","vzip","vzip","AddressValidator","AddressValidatorError","ConnectionError","InvalidScript","Message","TimeoutError","UserRejected","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","fmt","fmt","from","init","into","ne","to_owned","to_string","try_from","try_into","type_id","validate","vzip","BranchAndBoundCoinSelection","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","LargestFirstCoinSelection","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","coin_select","coin_select","coin_select","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","fee_amount","fmt","fmt","fmt","from","from","from","init","init","init","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","deref","deref_mut","descriptor","deserialize","drop","export_wallet","fmt","from","from_str","init","into","label","serialize","to_string","try_from","try_into","type_id","vzip","0","Dummy","Fingerprint","InputIndexOutOfRange","InvalidKey","InvalidNonWitnessUtxo","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor_secret_key","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","find","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","hash","id","ids","init","init","init","init","init","into","into","into","into","into","ne","ne","new","partial_cmp","partial_cmp","remove","sign","sign_whole_tx","signers","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","get_timestamp","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","default","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","do_not_spend_change","drain_wallet","drop","drop","drop","drop","drop","enable_rbf","enable_rbf_with_sequence","eq","eq","equivalent","equivalent","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","init","init","init","init","init","into","into","into","into","into","maintain_single_recipient","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","set_single_recipient","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::blockchain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::compact_filters","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::electrum","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::esplora","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::memory","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys::bip39","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::address_validator","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::time","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Error that can be returned to fail the validation of an …","BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Compact filters client error)","Error related to the parsing and usage of descriptors","Electrum client error","Encoding error","Errors that can be thrown by the Wallet","Esplora client error","External","Fee rate","When bumping a tx the fee rate requested is lower than …","When bumping a tx the absolute fee requested is lower …","A UTXO owned by another wallet.","Generic error","Hex decoding error","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout …","Error while extracting and manipulating policies","Progress value must be between 0.0 (included) and 100.0 …","Wrong number of bytes found when trying to convert to u32","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error serializing or deserializing JSON data","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Progress update error (maybe the channel has been closed)","Partially signed bitcoin transaction error","This error is thrown when trying to convert Bare and …","An ECDSA error","Signing error","Found multiple outputs when single_recipient option has …","single_recipient option is selected but neither …","Sled database error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","A [Utxo] with its satisfaction_weight.","Return [KeychainKind] as a byte","","Return the value as satoshi/vbyte","","Blockchain backends","","","","","","","","","","","","","","","","","","","","","","","","","","","","Database types","","","Create a new [FeeRate] with the default min relay fee …","","","","","","","","","","","","","","","Descriptors","Macro to write full descriptors with code","","","","","","","","","","","","","","","","","","","","Fee value (sats)","","","","","","","","","Macro to write descriptor fragments with code","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of [FeeRate] given a float fee rate …","Create a new instance of [FeeRate] given a float fee rate …","","Confirmed in block height, None means unconfirmed","","","","","","","","","","","","","","","","","","","Type of keychain","Key formats","","","","","","Get the location of the UTXO","Reference to a transaction output","","Received value (sats)","The weight of the witness data and scriptSig expressed in …","Sent value (sats)","","","","Timestamp","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","Can compute accurate fees for the transactions found …","Trait that defines the actions that must be supported by …","Capabilities that can be supported by a [Blockchain] …","Type that contains the configuration","Trait for [Blockchain] types that can be created given a …","Can recover the full history of a wallet and not only the …","Can fetch any historical transaction given its txid","Type that implements [Progress] and logs at level INFO …","Type that implements [Progress] and drops every update …","Trait for types that can receive and process progress …","Data sent with a progress update over a [channel]","Runtime-checked blockchain types","","","","","","","Broadcast a transaction","","","","","","","Compact Filters","","","","","","","","","","Electrum","","","Esplora","Estimate the fee rate required to confirm a transaction …","","","","","Create a new instance given a configuration","Return the set of [Capability] supported by this backend","Return the current height","Fetch a transaction from the blockchain given its txid","","","","","","","","Create a nwe instance of [LogProgress]","Create a new instance of [NoopProgress]","Shortcut to create a [channel] (pair of [Sender] and […","Setup the backend and populate the internal database for …","Populate the internal database with transactions and UTXOs","","","","","","","","","","","","","Send a new progress update","","","","","","Type that can contain any of the [Blockchain] types …","Type that can contain any of the blockchain …","Compact filters client","Compact filters client","Electrum client","Electrum client","Esplora client","Esplora client","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Invalid BIP158 filter","Data to connect to a Bitcoin P2P peer","Structure implementing the required blockchain traits","Configuration for a [CompactFiltersBlockchain]","An error that can occur during sync with a […","The data stored in the block filters storage are corrupted","Internal database error","Wrapper for [crate::error::Error]","The compact filter returned is invalid","The compact filter headers returned are invalid","The headers returned are invalid","A peer sent an invalid or unexpected response","Internal I/O error","Container for unconfirmed, but valid Bitcoin transactions","The peer is missing a block in the valid chain","No peers have been specified","A peer is not connected","A Bitcoin peer","The peer doesn’t advertise the BLOOM service flag","Internal system time error","A peer took too long to reply to one of our messages","Add a transaction to the mempool","Peer address such as 127.0.0.1:18333","","","","","","","","","","","","","","","","","","Connect to a peer over a plaintext TCP connection","Connect to a peer through a SOCKS5 proxy, optionally by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the mempool used by this peer","Return the Bitcoin [Network] in use","Look-up a transaction in the mempool given an [Inventory] …","","Return the [VersionMessage] sent by the peer","Return whether or not the mempool contains a transaction …","","","","","","","","","","","","","Return whether or not the peer is still connected","Return the list of transactions contained in the mempool","","","Network used","Create a new empty mempool","Construct a new instance given a list of peers, a path to …","List of peers to try to connect to for asking headers and …","Waits for a specific incoming Bitcoin message, optionally …","Send a raw Bitcoin message to the peer","","","","Optionally skip initial skip_blocks blocks (default: 0)","Optional socks5 proxy","Optional socks5 proxy credentials","Storage dir to save partially downloaded headers and full …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper over an Electrum Client that implements the …","Configuration for an [ElectrumBlockchain]","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Request retry count","","","URL of the socks5 proxy server or a Tor service","Request timeout (seconds)","","","","","","","","URL of the Electrum server (such as ElectrumX, Esplora, …","","","Invalid Bitcoin data returned","Structure that implements the logic to sync with Esplora","Configuration for an [EsploraBlockchain]","Errors that can happen during a sync with […","Header hash not found","Header height not found","Invalid Hex data returned","Invalid number returned","Error with the HTTP call","Transaction not found","Base URL of the esplora service","","","","","","","","","","Number of parallel requests sent to the esplora service …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of the client from a base URL","","","","","","","","","","","","","","","","","Container for the operations","Trait for a database that supports batch operations","Trait for operations that can be batched","Type that contains the configuration","Trait for [Database] types that can be created given a …","Trait for reading data from a database","Runtime-checked database types","Create a new batch container","Read and checks the descriptor checksum for a given …","Consume and apply a batch of operations","Delete the last derivation index for a keychain.","Delete the data related to a specific script_pubkey, …","Delete a raw transaction given its [Txid]","Delete a script_pubkey given the keychain and its child …","Delete the metadata of a transaction and optionally the …","Delete a [LocalUtxo] given its [OutPoint]","Create a new instance given a configuration","Return the last defivation index for a keychain.","Fetch the keychain and child number of a given …","Fetch a raw transaction given its [Txid]","Fetch a script_pubkey given the child number of a …","Fetch the transaction metadata and optionally also the …","Fetch a [LocalUtxo] given its [OutPoint]","Increment the last derivation index for a keychain and …","Return the list of raw transactions","Return the list of script_pubkeys","Return the list of transactions metadata","Return the list of [LocalUtxo]s","In-memory ephemeral database","Store the last derivation index for a given keychain.","Store a raw transaction","Store a script_pubkey along with its keychain and child …","Store the metadata of a transaction","Store a [LocalUtxo]","Type that contains any of the [BatchDatabase::Batch] …","Type that can contain any of the [Database] types defined …","Type that can contain any of the database configurations …","In-memory ephemeral database","In-memory ephemeral database","Memory database has no config","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Configuration type for a [sled::Tree] database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Main directory of the db","","","","","","","","","","","","","Name of the database tree, a separated namespace for the …","","","","","","","","","","","","","","","","","In-memory ephemeral database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new empty database","","","","","","","","","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a [Descriptor] that contains extended derived …","Extended [DescriptorPublicKey] that has been derived","Script descriptor","Alias for a [Descriptor] that can contain extended keys …","Trait implemented on [Descriptor]s to add a method to …","Alias for the type of maps that represent derivation …","Trait for types which can be converted into an […","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","Pay-to-PubKey-Hash","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the …","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","","","","","","","","","Derives all wildcard keys in the descriptor using the …","Get the [DescriptorType] of [Descriptor]","","","","","","Encode as a Bitcoin script","","","","","","","","","","","Descriptor errors","Computes the “witness script” of the descriptor, i.e. …","Additional information helpful for extra analysis.","Extract the spending [policy]","","","","","","","","","","","","","","","","","","Add type information(Type and Extdata) to Miniscript …","","","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor","Parse an expression tree into a Miniscript. As a general …","Returns Vec with cloned version of all public keys from …","Returns Vec of [PkPkh] entries, representing either …","Returns Vec with hashes of all public keys from the …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns Option::Some with hash of n’th public key or …","Returns Option::Some with hash of n’th public key from …","Returns satisfying witness and scriptSig to spend an …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","","","","","","","","","","","","","","","","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","","Creates a new [Iter] iterator that will iterate over all […","Creates a new [PkIter] iterator that will iterate over …","Creates a new [PkPkhIter] iterator that will iterate over …","Creates a new [PkhIter] iterator that will iterate over …","","","Lifting corresponds conversion of miniscript into Policy […","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","","Construct a new derived key","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script…","Create a new sh wrapped wsh sortedmulti descriptor from …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation. …","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","","","","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Whether the descriptor is safe Checks whether all the …","Check whether the underlying Miniscript is safe under the …","Attempt to produce non-malleable satisfying witness for …","Attempt to produce a malleable satisfying witness for the …","Get the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor","Size, in bytes of the script-pubkey. If this Miniscript …","","Descriptor templates","","","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Convert a descriptor using abstract keys to one using …","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","Computes the scriptSig that will be in place for an …","","","","","","Whether the miniscript can exceed the resource …","Compute the checksum of a descriptor","Error during base58 decoding","BIP32 error","The descriptor contains multiple keys with the same BIP32 …","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid character found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","","","","","","","","","","","","","","Absolute timeclock timestamp","Can not add to an item that is [Satisfaction::None] or […","Can not add to an item that is […","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of [Condition] items keyed by each …","Type for a map of folded sets of [Condition] items keyed …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a […","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a […","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","Raw public key or extended key fingerprint","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","SHA256 preimage hash","Signature for a raw public key","Signature for an extended key fingerprint","Threshold items with threshold count","","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the conditions that are set by the spending policy …","","Returns a unique id for the [SatisfiableItem]","Identifier for this policy node","","","","","","","","","","","","","","","Returns whether the [SatisfiableItem] is a leaf item","Returns whether the [Satisfaction] is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timestamp value","The locktime value","","","","","","","","","","","","","","","","","","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of [DescriptorTemplate], …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor …","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The MiniscriptKey corresponding to Descriptors. This can …","A Secret Key that can be either a single key or an Xprv","A Single Descriptor Secret Key with optional origin …","A Single Descriptor Key with optional origin information","Type specifying the amount of entropy required e.g. …","Returned error in case of failure","Trait that adds extra useful methods to [ScriptContext]s","Enum for extended keys that can be either xprv or xpub","Trait that allows generating a key with the default …","Trait for keys that can be generated","Output of a [GeneratableKey] key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a [PrivateKey]","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid [ScriptContext]s","Segwitv0 scripts","Single Secret Key","Single Public Key","Contents of a “sortedmulti” descriptor","Set of valid networks for a key","Xprv","Xpub","Create a set containing mainnet, testnet and regtest","Returns the [ScriptContext] as a [ScriptContextEnum]","Return the public version of this key, by applying either …","BIP-0039","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","Consensus rules at the Miniscript satisfaction time. It …","Policy rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","Whether the generated key should be “compressed” or …","","","","","","","","","","","","","","","","","","","","","","","","","If this public key has a wildcard, replace it by the …","Computes the public key corresponding to this descriptor …","","","","","","","","","","","","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given …","Return whether or not the key contains the private data","","","","","","","","","","","","","","","","","","","","","","","","","Turn the key into a [DescriptorKey] within the requested […","Consume self and turn it into a [DescriptorKey] by adding …","","","","","","Consume self and turn it into an [ExtendedKey]","","","Consumes self and returns the key","Transform the [ExtendedKey] into an ExtendedPrivKey for …","Transform the [ExtendedKey] into an ExtendedPubKey for the…","Whether or not the key has a wildcards","Returns whether the script context is Legacy","Returns whether the script context is […","Returns whether the script context is Segwitv0","Returns whether the script context is […","","signatures required","The key","The key","","Create a set only containing mainnet","The fingerprint of the master key associated with this key","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","","","","Create a new instance of SortedMultiVec given a list of …","Origin information","Origin information","Other top level checks that are context specific","Other top level checks that are context specific","Override the computed set of valid networks","","","","public keys inside sorted Multi","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript …","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","","","","Check top level consensus rules.","Check top level consensus rules.","Check whether the top-level is type B","Check whether the top-level is type B","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The language determines which words will be used in a …","The primary type in this crate, most tasks require …","Determines the number of words that will be present in a …","Type for a BIP39 mnemonic with an optional passphrase","The secret value used to derive HD wallet addresses from …","","","","","","","Get the seed value as a byte slice","","","","","","","","","","","","","Return the number of checksum bits","","","","","","","","","","","","","","","","","","","","","","","","","Get the original entropy value of the mnemonic phrase as …","Return the number of entropy bits","","","","","","","","","","","","Get a MnemonicType for a mnemonic phrase representing the …","Get a MnemonicType for an existing mnemonic phrase","Get a MnemonicType for a mnemonic phrase with a specific …","","","","","Create a Mnemonic from pre-generated entropy","Construct a word list from its language code. Returns None…","Create a Mnemonic from an existing mnemonic phrase","","","","","","","","","","","","","","Consume the Mnemonic and return the phrase as a String.","Get the Language","Generates a new Mnemonic","Generates the seed from the Mnemonic and the password.","Get the mnemonic phrase as a string reference.","Outputs the hash in hexadecimal form","Outputs the hash in hexadecimal form","","","","","","","Return the number of entropy+checksum bits","","","","","","","","","","","","","Validate a mnemonic phrase","","","","","Return the number of words","Get the word list for this language","Get a [WordMap][WordMap] that allows word -> index …","","","","","The address index selection strategy to use to derived an …","Trait to check if a value is below the dust limit","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Return the address for a specific descriptor index. Does …","Return the address for a specific descriptor index and …","A Bitcoin wallet","Add an address validator","Add an external signer","Address validation callbacks","","","","","Broadcast a transaction to the network","Bump the fee of a transaction previously created with …","Start building a transaction.","Return a reference to the internal blockchain client","Coin selection","","","","","","","Wallet export","Try to finalize a PSBT","","","","","Return a derived address using the external descriptor, …","Return the balance, meaning the sum of this wallet’s …","Returns the descriptor used to create adddresses for a …","get the corresponding PSBT Input for a LocalUtxo","Returns the UTXO owned by this wallet corresponding to …","","","","","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Return the list of transactions made and received by the …","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a new “online” wallet","Create a new “offline” wallet","Return the spending policies for the wallet’s descriptor","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","Sign a transaction with all the wallet’s signers, in …","Generalized signers","Sync the internal database with the blockchain","Cross-platform time","","","","","Transaction builder","","","","","Trait to build address validators","Errors that can be returned to fail the validation of an …","Network connection error","Invalid script","A custom error message","Network request timeout error","User rejected the address","","","","","","","","","","","","","","","","","","","","","Validate or inspect an address","","Branch and bound coin selection","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Simple and dumb coin selection","","","","","","","","","Perform the coin selection","","","","","","","","","","","","","","Total fee amount in satoshi","","","","","","","","","","","","","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","Structure that contains the export of a wallet","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","","","Return the external descriptor","","","Export a wallet","","","","","","Arbitrary label for the wallet","","","","","","","","Dummy identifier","The fingerprint of a BIP32 extended key","Input index is out of range","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is requied to …","The witness_utxo field of the transaction is required to …","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Options for a software signer","Trait for signers","Signing error","Identifier of a signer in the SignersContainers. Used as …","Defines the order in which signers are called","Container for multiple signers","The user canceled the operation","Adds an external signer to the container for the …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","","","","","","","Return the [SignerId] for this signer","Returns the list of identifiers of all the signers in the …","","","","","","","","","","","","","Default constructor","","","Removes a signer from the container and returns it","Sign a PSBT","Return whether or not the signer signs the whole …","Returns the list of signers in the container, sorted by …","","","","","","","Whether the signer should trust the witness_utxo, if the …","","","","","","","","","","","","","","","","","","","","","Return the current timestamp in seconds","BIP69 / Lexicographic","Marker type to indicate the [TxBuilder] is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see […","Policy regarding the use of change outputs when creating …","Marker type to indicate the [TxBuilder] is being used to …","Only use change outputs (see [TxBuilder::only_spend_change…","Randomized (default)","A transaction builder","Context in which the [TxBuilder] is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be …","Add the list of outpoints to the internal list of UTXOs …","","","","","","","","","","","Set a specific [ChangeSpendPolicy]. See […","","","","","","","","","","","","","Choose the coin selection algorithm","","","","","","","","","","","","","","","Do not spend change outputs","Spend all the available inputs. This respects filters …","","","","","","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","","","Set an absolute fee","Set a custom fee rate","Finish the building the transaction.","","","","","","","","","","","","","Fill-in the psbt::Output::redeem_script and …","","","","","","","","","","","Bump the fees of a transaction made with …","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Set a single recipient that will get all the selected …","Sign with a specific sig hash","Sort transaction inputs and outputs by [TxOrdering] …","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[1,1,1,1,1,1,1,1,1,0,1,2,0,1,1,3,1,1,1,2,1,1,1,1,1,1,1,0,3,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,2,2,4,2,0,1,2,4,5,6,3,7,1,2,4,5,6,3,7,2,2,4,5,6,3,7,2,4,5,6,3,7,0,4,7,4,1,2,4,5,6,3,7,1,2,4,5,6,3,7,0,0,2,5,7,1,2,4,5,6,3,7,2,4,5,6,3,7,2,5,7,7,1,1,2,4,5,6,3,7,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,4,5,6,3,7,4,4,2,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,8,8,9,10,5,0,4,5,6,3,7,3,5,4,7,6,7,2,5,7,7,2,4,5,6,3,7,1,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,7,3,5,1,2,4,5,6,3,7,6,0,1,2,4,5,6,3,7,0,2,11,11,12,13,14,14,15,0,0,16,0,15,15,0,0,0,0,0,15,17,18,15,17,18,19,15,17,18,15,17,18,0,15,17,18,15,17,18,15,17,18,0,15,15,0,19,15,15,17,18,16,19,19,19,15,15,17,18,15,17,18,0,0,0,19,19,15,17,18,15,17,18,15,17,18,15,17,18,20,17,18,15,17,18,0,0,21,22,21,22,21,22,21,22,21,22,21,22,22,21,22,21,22,22,21,22,22,21,22,21,21,21,21,22,22,22,22,21,21,21,21,21,22,21,22,22,22,21,21,22,21,22,21,22,21,22,21,22,23,0,0,0,0,23,23,23,23,23,23,23,23,0,23,23,23,0,23,23,23,24,25,24,26,27,25,28,23,24,26,27,25,28,23,27,25,28,25,28,26,26,24,24,26,27,25,28,23,24,26,27,25,28,23,25,28,24,26,27,25,28,23,25,28,27,24,26,27,25,28,23,23,24,26,27,25,28,23,23,23,23,23,23,27,27,27,26,26,24,27,26,24,24,26,27,25,28,23,24,26,27,25,28,23,26,24,25,28,28,24,27,28,26,26,25,28,27,28,25,25,28,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,0,0,29,30,29,30,29,30,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,29,29,29,30,29,30,30,30,30,29,30,30,30,29,30,29,30,29,30,30,29,30,31,0,0,0,31,31,31,31,31,31,32,33,32,31,33,32,31,33,32,32,32,33,32,31,33,32,31,32,33,32,31,32,33,33,32,31,31,33,32,31,31,31,31,31,33,33,33,33,33,32,31,33,32,31,32,33,32,33,32,31,33,32,31,33,32,31,33,32,31,33,32,31,34,0,0,35,0,0,0,34,36,34,37,37,37,37,37,37,35,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,0,0,0,38,39,40,38,39,40,0,39,38,39,41,40,38,39,41,40,39,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,41,40,38,39,41,40,41,40,38,39,41,40,39,41,40,38,38,38,39,39,39,41,40,40,40,39,39,39,39,39,39,39,39,38,39,41,40,38,39,41,40,39,39,39,39,41,41,40,38,39,38,39,38,39,38,39,38,39,41,38,39,41,40,38,39,41,40,38,39,41,40,38,39,41,40,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,0,0,0,0,0,0,0,0,0,0,43,0,0,43,43,43,43,44,45,46,47,43,44,45,46,47,43,44,45,46,46,48,44,45,48,45,48,48,44,45,48,44,45,48,48,44,45,48,44,45,0,47,43,44,45,46,47,43,44,45,46,47,43,44,45,46,47,47,43,44,45,46,47,43,44,45,46,43,43,47,43,44,45,46,46,47,43,44,45,46,47,43,44,45,46,0,43,46,49,43,46,47,47,43,43,44,45,46,46,43,46,47,43,44,45,46,46,43,46,46,43,46,46,46,46,46,46,46,46,43,46,46,47,44,45,46,47,47,43,44,45,46,47,43,44,45,46,46,50,43,46,47,46,46,46,46,43,46,46,48,44,45,46,43,46,43,47,43,43,43,43,43,43,43,43,43,43,43,46,48,46,43,46,47,43,44,45,46,0,46,43,46,46,46,43,43,46,47,0,47,43,44,45,46,47,47,47,43,46,43,48,48,43,46,47,43,44,45,46,47,43,44,45,46,46,47,43,44,45,46,43,47,43,44,45,46,46,0,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,52,53,53,0,54,0,0,0,52,52,53,53,53,52,54,55,53,54,54,0,0,0,55,55,52,52,0,0,52,52,52,52,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,55,56,52,54,57,58,55,58,57,58,56,58,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,58,53,58,53,56,52,54,57,58,53,53,55,56,52,54,54,57,57,58,53,55,57,58,52,57,56,52,54,57,58,53,55,56,52,54,57,58,53,55,52,54,58,57,58,53,58,57,57,56,52,54,57,58,58,56,52,54,57,58,55,53,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,59,59,59,60,61,62,61,62,61,62,61,62,61,62,63,64,65,66,67,68,68,67,69,70,71,72,73,74,75,76,77,78,79,74,75,76,77,78,79,75,77,79,0,0,0,0,0,0,0,0,0,0,0,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,80,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,81,0,0,0,0,0,0,82,82,0,0,0,0,0,0,81,81,81,0,0,83,81,81,82,84,0,84,0,0,83,85,86,0,0,85,86,0,87,85,0,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,83,90,91,86,92,83,90,91,86,92,91,86,92,90,90,84,88,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,86,86,84,88,89,83,90,81,91,86,92,93,85,91,83,91,86,92,83,91,86,92,89,83,90,81,81,91,91,86,86,92,93,85,85,91,84,84,84,88,89,83,90,81,81,81,91,86,92,93,85,89,89,86,85,91,86,82,94,82,94,84,86,92,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,95,96,88,88,89,86,85,96,84,88,88,84,84,86,87,83,87,83,86,91,92,93,91,0,86,48,91,91,0,91,86,92,91,92,93,48,48,89,91,86,92,91,91,91,91,91,0,83,90,91,86,92,86,81,91,86,85,48,48,48,48,91,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,97,97,97,97,97,97,97,0,0,0,0,0,97,98,98,98,98,98,99,100,99,99,97,100,98,99,97,100,98,99,99,98,97,100,98,99,97,100,98,99,97,98,97,100,98,99,97,100,98,99,97,100,100,98,99,99,100,98,97,97,100,100,100,100,98,98,99,99,99,98,98,98,97,100,98,99,100,97,100,100,97,100,98,99,97,100,98,99,100,99,100,99,100,100,100,99,100,100,99,97,100,98,99,100,98,98,97,100,98,99,97,100,98,99,97,100,98,99,100,97,100,98,99,98,97,97,99,97,100,99,0,0,101,101,101,101,0,102,102,0,102,101,102,101,102,102,102,102,0,102,101,102,101,102,101,0,102,102,101,102,101,102,102,102,102,102,102,101,102,101,103,102,102,102,102,102,102,102,102,102,102,0,102,0,102,101,102,101,0,102,101,102,101,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,105,104,0,0,0,0,0,106,107,108,106,107,108,107,107,109,107,108,107,108,106,107,108,106,107,108,106,107,108,106,106,107,108,106,107,108,106,107,108,106,107,108,106,108,106,106,107,106,107,108,106,107,108,106,107,108,106,107,108,0,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,111,112,112,113,113,113,113,113,113,113,113,112,0,0,0,0,0,0,113,114,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,111,111,114,115,112,113,111,114,115,112,113,111,114,115,116,112,113,111,114,115,112,113,111,112,113,111,114,112,113,113,111,114,115,112,112,112,113,111,114,114,115,112,116,114,112,113,111,114,115,112,113,111,114,115,112,111,114,112,111,114,116,116,114,112,113,111,114,115,113,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,0,117,0,118,118,0,0,118,117,0,0,0,117,119,119,119,119,119,119,120,121,119,117,118,120,121,119,117,118,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118,119,119,117,118,117,118,119,119,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,119,117,118,120,121,119,117,118,119,119,119,119,119,119,117,118,119,119,119,119,117,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["u8",15]],[[]],[[],["f32",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4]]],[[],["keychainkind",4]],[[],["feerate",3]],[[],["localutxo",3]],[[],["weightedutxo",3]],[[],["utxo",4]],[[],["transactiondetails",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["transactiondetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["keychainkind",4]],["bool",15]],[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],null,[[]],[[["addressvalidatorerror",4]]],[[["signererror",4]]],[[["policyerror",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["compactfilterserror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["esploraerror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",3]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["f32",15]]],[[["f32",15]]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],null,null,[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["outpoint",3]],null,[[["feerate",3]],[["option",4],["ordering",4]]],null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["txout",3]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[],["str",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[],["result",4]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["capability",4]],[[],["noopprogress",3]],[[],["logprogress",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["capability",4]],["bool",15]],[[],["bool",15]],null,[[["usize",15]],[["error",4],["result",4],["feerate",3]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["error",4],["result",4]]],[[],[["capability",4],["hashset",3]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["anyblockchainconfig",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["anyblockchainconfig",4]],["bool",15]],[[["usize",15]],[["error",4],["result",4],["feerate",3]]],[[["formatter",3]],["result",6]],[[]],[[["compactfiltersblockchain",3]]],[[["esplorablockchain",3]]],[[["electrumblockchain",3]]],[[["esplorablockchainconfig",3]]],[[["electrumblockchainconfig",3]]],[[]],[[["compactfiltersblockchainconfig",3]]],[[],[["error",4],["result",4]]],[[],[["capability",4],["hashset",3]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["transaction",3]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["bitcoinpeerconfig",3]],[[],["compactfiltersblockchainconfig",3]],[[]],[[]],[[["network",4],["arc",3],["tosocketaddrs",8],["mempool",3]],[["result",4],["compactfilterserror",4]]],[[["network",4],["arc",3],["totargetaddr",8],["tosocketaddrs",8],["option",4],["mempool",3]],[["result",4],["compactfilterserror",4]]],[[],["mempool",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["result",4],["feerate",3]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[["systemtimeerror",3]]],[[["error",3]]],[[]],[[["error",3]]],[[["error",4]]],[[["error",4]]],[[],[["error",4],["result",4]]],[[],[["capability",4],["hashset",3]]],[[],[["error",4],["u32",15],["result",4]]],[[],[["arc",3],["mempool",3]]],[[],["network",4]],[[["inventory",4]],[["option",4],["transaction",3]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["vec",3],["transaction",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["usize",15],["option",4],["asref",8],["vec",3],["path",3],["peer",3]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["result",4],["compactfilterserror",4],["option",4]]],[[["networkmessage",4]],[["result",4],["compactfilterserror",4]]],[[],["result",4]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,null,null,[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["electrumblockchainconfig",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["electrumblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["result",4],["feerate",3]]],[[["formatter",3]],["result",6]],[[]],[[["client",3]]],[[]],[[],[["error",4],["result",4]]],[[],[["capability",4],["hashset",3]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["esplorablockchainconfig",3]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["esplorablockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["result",4],["feerate",3]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["error",3]]],[[["parseinterror",3]]],[[["error",4]]],[[["error",4]]],[[],[["error",4],["result",4]]],[[],[["capability",4],["hashset",3]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["u8",15],["str",15],["option",4]]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["error",4],["result",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],null,[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[["memorydatabase",3]]],[[["tree",3]]],[[]],[[["sleddbconfiguration",3]]],[[]],[[]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["error",4],["result",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]],[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]],[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[],["memorydatabase",3]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["error",4],["result",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],[[]],[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["network",4]],[["result",4],["address",3],["error",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["miniscript",3],["global",3]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],null,[[],["deriveddescriptorkey",3]],[[],["descriptor",4]],[[],["legacy",4]],[[],["segwitv0",4]],[[],["miniscript",3]],[[]],[[]],[[]],[[]],[[]],[[],["ordering",4]],[[["descriptor",4]],["ordering",4]],[[["legacy",4]],["ordering",4]],[[["segwitv0",4]],["ordering",4]],[[["miniscript",3]],["ordering",4]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]],[[],["descriptortype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[],["bool",15]],[[["descriptor",4]],["bool",15]],[[["legacy",4]],["bool",15]],[[["segwitv0",4]],["bool",15]],[[["miniscript",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[],["script",3]],null,[[["buildsatisfaction",4],["signerscontainer",3],["secp256k1",3]],[["descriptorerror",4],["result",4],["option",4]]],[[["buildsatisfaction",4],["signerscontainer",3],["secp256k1",3]],[["error",4],["result",4],["option",4]]],[[["buildsatisfaction",4],["signerscontainer",3],["secp256k1",3]],[["error",4],["result",4],["option",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[]],[[["terminal",4]],[["result",4],["miniscript",3],["error",4]]],[[["str",15]],[["error",4],["descriptor",4],["result",4]]],[[["str",15]],[["result",4],["miniscript",3],["error",4]]],[[["str",15]],[["result",4],["miniscript",3],["error",4]]],[[["tree",3]],[["error",4],["descriptor",4],["result",4]]],[[["tree",3]],[["result",4],["miniscript",3],["error",4]]],[[],[["vec",3],["global",3]]],[[],[["global",3],["pkpkh",4],["vec",3]]],[[],[["global",3],["vec",3]]],[[["usize",15]],[["miniscript",3],["option",4]]],[[["usize",15]],["option",4]],[[["usize",15]],[["option",4],["pkpkh",4]]],[[["usize",15]],["option",4]],[[],[["error",4],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[],["hash",3]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],["terminal",4]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["iter",3]],[[],["pkiter",3]],[[],["pkpkhiter",3]],[[],["pkhiter",3]],[[],[["result",4],["policy",4],["error",4]]],[[],[["result",4],["policy",4],["error",4]]],[[],[["lifterror",4],["result",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],[["result",4],["usize",15],["error",4]]],[[],[["result",4],["usize",15],["error",4]]],[[],[["result",4],["usize",15],["error",4]]],[[["descriptor",4]],["bool",15]],[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]],[[["miniscript",3],["barectx",4]],[["error",4],["descriptor",4],["result",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["legacy",4],["miniscript",3]],[["error",4],["descriptor",4],["result",4]]],[[["vec",3],["usize",15],["global",3]],[["error",4],["descriptor",4],["result",4]]],[[],[["error",4],["descriptor",4],["result",4]]],[[["miniscript",3],["segwitv0",4]],[["error",4],["descriptor",4],["result",4]]],[[["vec",3],["usize",15],["global",3]],[["error",4],["descriptor",4],["result",4]]],[[],[["error",4],["descriptor",4],["result",4]]],[[["miniscript",3],["segwitv0",4]],[["error",4],["descriptor",4],["result",4]]],[[["vec",3],["usize",15],["global",3]],[["error",4],["descriptor",4],["result",4]]],null,[[["miniscript",3]],[["result",4],["error",4]]],[[["script",3]],[["miniscript",3],["error",4],["result",4]]],[[["secp256k1",3],["str",15]],[["error",4],["result",4]]],[[["script",3]],[["miniscript",3],["error",4],["result",4]]],[[],[["option",4],["ordering",4]]],[[["descriptor",4]],[["ordering",4],["option",4]]],[[["legacy",4]],[["ordering",4],["option",4]]],[[["segwitv0",4]],[["ordering",4],["option",4]]],[[["miniscript",3]],[["ordering",4],["option",4]]],null,[[],["bool",15]],[[],[["result",4],["error",4]]],[[],[["analysiserror",4],["result",4]]],[[],[["result",4],["error",4],["vec",3]]],[[],[["result",4],["error",4],["vec",3]]],[[],["script",3]],[[],["script",3]],[[],["usize",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["publickey",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["hashmap",3]],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["descriptor",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["script",3]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[["str",15]],[["descriptorerror",4],["result",4],["string",3]]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["policyerror",4]]],[[["error",4]]],[[]],[[["error",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[],["usize",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["pkorf",3]],[[],["satisfiableitem",4]],[[],["satisfaction",4]],[[],["policy",3]],[[],["condition",3]],[[],["buildsatisfaction",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[["condition",3]],["ordering",4]],null,null,[[],["pkorf",3]],[[],["condition",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["bool",15]]],[[]],[[["satisfiableitem",4]]],[[]],[[]],[[]],[[["btreemap",3]],[["result",4],["policyerror",4],["condition",3]]],[[]],[[],["string",3]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[["condition",3]],[["option",4],["ordering",4]]],[[],["bool",15]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["validnetworks",6]],[[],["scriptcontextenum",4]],[[["secp256k1",3]],[["descriptorkeyparseerror",3],["result",4],["descriptorpublickey",4]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],["scriptcontextenum",4]],[[],["privatekeygenerateoptions",3]],[[],["sortedmultivec",3]],[[],["descriptorpublickey",4]],[[],["descriptorsinglepub",3]],[[]],[[]],[[]],[[]],[[]],[[["sortedmultivec",3]],["ordering",4]],[[["descriptorpublickey",4]],["ordering",4]],[[["descriptorsinglepub",3]],["ordering",4]],null,[[]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],["descriptorpublickey",4]],[[["secp256k1",3]],[["result",4],["publickey",3],["conversionerror",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[["scriptcontextenum",4]],["bool",15]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[],["bool",15]],[[["extendedpubkey",3]]],[[]],[[["extendedprivkey",3]]],[[]],[[]],[[]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[["descriptorpublickey",4],["validnetworks",6]]],[[["validnetworks",6],["descriptorsecretkey",4]]],[[["str",15]],[["result",4],["descriptorpublickey",4]]],[[["str",15]],[["descriptorsecretkey",4],["result",4]]],[[["tree",3]],[["error",4],["sortedmultivec",3],["result",4]]],[[],["derivationpath",3]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],["bool",15]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["descriptorkey",4],["keyerror",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[]],[[["network",4]],[["extendedprivkey",3],["option",4]]],[[["network",4],["secp256k1",3]],["extendedpubkey",3]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,null,null,[[],[["result",4],["policy",4],["error",4]]],[[],["validnetworks",6]],[[],["fingerprint",3]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[["validnetworks",6]],["validnetworks",6]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[["vec",3],["usize",15],["global",3]],[["error",4],["sortedmultivec",3],["result",4]]],null,null,[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["ordering",4],["option",4]]],[[["descriptorpublickey",4]],[["ordering",4],["option",4]]],[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]],null,[[],[["result",4],["error",4]]],[[],[["result",4],["error",4],["vec",3]]],[[],["usize",15]],[[],["terminal",4]],[[],["validnetworks",6]],[[]],[[]],[[]],[[]],[[]],[[],["descriptorpublickey",4]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["result",4],["sortedmultivec",3]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[],["str",15]],[[]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4]]],[[],["u8",15]],[[],["language",4]],[[],["mnemonic",3]],[[],["mnemonictype",4]],[[],["seed",3]],[[]],[[]],[[]],[[]],[[],["language",4]],[[],["mnemonictype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[],["usize",15]],[[["language",4]],["bool",15]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]],[[["str",15]],[["mnemonictype",4],["result",4],["error",3]]],[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]],[[]],[[]],[[]],[[]],[[["language",4]],[["mnemonic",3],["error",3],["result",4]]],[[["str",15]],[["option",4],["language",4]]],[[["str",15],["language",4]],[["mnemonic",3],["error",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[],[["extendedkey",4],["result",4],["keyerror",4]]],[[],["string",3]],[[],["language",4]],[[["mnemonictype",4],["language",4]],["mnemonic",3]],[[["mnemonic",3],["str",15]],["seed",3]],[[],["str",15]],[[],["string",3]],[[],["string",3]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["string",3]],[[],["usize",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["str",15],["language",4]],[["result",4],["error",3]]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["wordlist",3]],[[],["wordmap",3]],[[],["result",4]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[["addressvalidator",8],["arc",3]]],[[["signerordering",3],["keychainkind",4],["arc",3],["signer",8]]],null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4],["txid",3]]],[[["txid",3]],[["error",4],["txbuilder",3],["result",4]]],[[],[["txbuilder",3],["createtx",3],["defaultcoinselectionalgorithm",6]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["psbt",3],["signoptions",3]],[["error",4],["result",4],["bool",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["addressindex",4]],[["error",4],["address",3],["result",4]]],[[],[["error",4],["result",4],["u64",15]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["localutxo",3],["bool",15],["option",4],["sighashtype",4]],[["input",3],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["result",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["error",4],["result",4],["bool",15]]],[[["bool",15]],[["error",4],["result",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],[[],["network",4]],[[["intowalletdescriptor",8],["network",4],["option",4]],[["error",4],["result",4]]],[[["intowalletdescriptor",8],["network",4],["option",4]],[["error",4],["result",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[],["secp256k1",3]],[[["psbt",3],["signoptions",3]],[["error",4],["result",4],["bool",15]]],null,[[["progress",8],["u32",15],["option",4]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[]],[[],["addressvalidatorerror",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressvalidatorerror",4]],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[],["usize",15]],[[]],[[["addressvalidatorerror",4]],["bool",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[["script",3],["keychainkind",4],["hdkeypaths",6]],[["result",4],["addressvalidatorerror",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["vec",3],["u64",15],["f32",15],["weightedutxo",3],["feerate",3]],[["error",4],["result",4],["coinselectionresult",3]]],[[["vec",3],["u64",15],["f32",15],["weightedutxo",3],["feerate",3]],[["error",4],["result",4],["coinselectionresult",3]]],[[["vec",3],["u64",15],["f32",15],["weightedutxo",3],["feerate",3]],[["error",4],["result",4],["coinselectionresult",3]]],[[],["largestfirstcoinselection",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["u64",15]],[[["u64",15]]],null,[[],["u64",15]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,[[]],[[]],[[],[["option",4],["string",3]]],[[["usize",15]]],[[["usize",15]]],[[],["string",3]],[[],["result",4]],[[["usize",15]]],[[["wallet",3],["str",15],["bool",15]],[["str",15],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[["str",15]],["result",4]],[[],["usize",15]],[[]],null,[[],["result",4]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["signerid",4],["signerordering",3],["arc",3],["signer",8]],[["option",4],["arc",3]]],[[["secp256k1",3]],["keymap",6]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["signerid",4]],[[],["signererror",4]],[[],["signerordering",3]],[[],["signerscontainer",3]],[[],["signoptions",3]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["ordering",4]],[[["signerordering",3]],["ordering",4]],[[]],[[],["signerscontainer",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],[["descriptorsecretkey",4],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["signerid",4]],["bool",15]],[[["signererror",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["signerid",4]],[["option",4],["arc",3]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[["hash",3]],["signerid",4]],[[["fingerprint",3]],["signerid",4]],[[]],[[]],[[["keymap",6]],["signerscontainer",3]],[[]],[[]],[[]],[[["secp256k1",3]],["signerid",4]],[[],[["signerid",4],["vec",3]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[]],[[["signerid",4]],[["option",4],["ordering",4]]],[[["signerordering",3]],[["option",4],["ordering",4]]],[[["signerid",4],["signerordering",3]],[["option",4],["arc",3]]],[[["partiallysignedtransaction",3],["usize",15],["option",4],["secp256k1",3]],[["signererror",4],["result",4]]],[[],["bool",15]],[[],[["arc",3],["vec",3]]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[],["u64",15]],null,null,null,null,null,null,null,null,null,null,null,null,[[["usize",15],["outpoint",3],["input",3]],[["error",4],["result",4]]],[[]],[[["u64",15],["script",3]]],[[["outpoint",3]]],[[["outpoint",3]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["changespendpolicy",4]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[],["txordering",4]],[[],["changespendpolicy",4]],[[]],[[]],[[]],[[]],[[]],[[["txordering",4]],["ordering",4]],[[["changespendpolicy",4]],["ordering",4]],[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["u32",15]]],[[["txordering",4]],["bool",15]],[[["changespendpolicy",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["u64",15]]],[[["feerate",3]]],[[],[["error",4],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],[["error",4],["result",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["option",4],["ordering",4]]],[[["changespendpolicy",4]],[["option",4],["ordering",4]]],[[["btreemap",3],["string",3],["vec",3],["keychainkind",4]]],[[["vec",3]]],[[["script",3]]],[[["sighashtype",4]]],[[["transaction",3]]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["vec",3],["outpoint",3]]],[[["i32",15]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"Error"],[4,"KeychainKind"],[4,"Utxo"],[3,"FeeRate"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[3,"TransactionDetails"],[6,"MnemonicWithPassphrase"],[6,"DescriptorTemplateOut"],[6,"ExtendedDescriptor"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[4,"Capability"],[8,"ConfigurableBlockchain"],[3,"NoopProgress"],[3,"LogProgress"],[8,"Blockchain"],[8,"Progress"],[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[4,"CompactFiltersError"],[3,"Mempool"],[3,"BitcoinPeerConfig"],[3,"Peer"],[3,"CompactFiltersBlockchain"],[3,"CompactFiltersBlockchainConfig"],[3,"ElectrumBlockchain"],[3,"ElectrumBlockchainConfig"],[4,"EsploraError"],[3,"EsploraBlockchainConfig"],[3,"EsploraBlockchain"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[8,"Database"],[8,"BatchOperations"],[4,"AnyBatch"],[4,"AnyDatabase"],[4,"AnyDatabaseConfig"],[3,"SledDbConfiguration"],[3,"MemoryDatabase"],[4,"Descriptor"],[4,"Legacy"],[4,"Segwitv0"],[3,"Miniscript"],[3,"DerivedDescriptorKey"],[8,"ScriptContext"],[8,"ExtractPolicy"],[8,"IntoWalletDescriptor"],[4,"Error"],[4,"SatisfiableItem"],[4,"PolicyError"],[4,"Satisfaction"],[4,"BuildSatisfaction"],[3,"PkOrF"],[3,"Policy"],[3,"Condition"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[8,"DescriptorTemplate"],[4,"KeyError"],[8,"GeneratableKey"],[4,"ScriptContextEnum"],[4,"ExtendedKey"],[4,"DescriptorSecretKey"],[4,"DescriptorPublicKey"],[8,"ExtScriptContext"],[3,"GeneratedKey"],[4,"DescriptorKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"DescriptorSinglePub"],[3,"DescriptorSinglePriv"],[8,"GeneratableDefaultOptions"],[8,"IntoDescriptorKey"],[8,"DerivableKey"],[4,"Language"],[4,"MnemonicType"],[3,"Seed"],[3,"Mnemonic"],[4,"AddressIndex"],[3,"Wallet"],[8,"IsDust"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[3,"LargestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[8,"CoinSelectionAlgorithm"],[3,"WalletExport"],[3,"SignerOrdering"],[4,"SignerId"],[4,"SignerError"],[3,"SignersContainer"],[3,"SignOptions"],[8,"Signer"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[3,"TxBuilder"],[3,"CreateTx"],[3,"BumpFee"]]}\ +"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","t":[13,13,13,13,13,13,13,13,13,4,13,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,13,13,4,3,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,0,11,11,11,11,11,11,12,11,12,12,12,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,8,4,16,8,13,13,3,3,8,6,0,11,11,11,11,11,11,10,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,0,10,11,11,11,11,10,10,10,10,11,11,11,11,11,11,11,5,5,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,4,4,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,3,3,3,4,13,13,13,13,13,13,13,13,3,13,13,13,3,13,13,13,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,11,11,11,11,11,11,11,12,11,11,13,3,3,4,13,13,13,13,13,13,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,16,8,8,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,10,10,10,10,10,4,4,4,13,13,13,13,13,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,6,3,4,6,8,6,8,6,4,3,13,8,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,5,13,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,6,13,13,13,13,13,13,13,13,13,13,13,3,3,4,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,3,3,16,16,8,4,8,8,3,8,13,13,13,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,6,13,13,5,10,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,4,3,4,6,3,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,8,13,13,13,13,3,11,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,0,11,11,11,11,8,4,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,3,8,3,6,3,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,3,3,13,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["AddressValidator","Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","CompactFilters","Descriptor","Electrum","Encode","Error","Esplora","External","FeeRate","FeeRateTooLow","FeeTooLow","Foreign","Generic","Hex","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","InvalidProgressValue","InvalidU32Bytes","IrreplaceableTransaction","Json","Key","KeychainKind","Local","LocalUtxo","Miniscript","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","ProgressUpdateError","Psbt","ScriptDoesntHaveAddressForm","Secp256k1","Signer","SingleRecipientMultipleOutputs","SingleRecipientNoInputs","Sled","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","UnknownUtxo","Utxo","WeightedUtxo","as_byte","as_ref","as_sat_vb","base32_len","blockchain","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","database","default","default","default_min_relay_fee","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor","descriptor","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fees","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_vb","hash","height","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into_descriptor_key","into_extended_key","into_wallet_descriptor","into_wallet_descriptor","keychain","keys","ne","ne","ne","ne","ne","outpoint","outpoint","partial_cmp","received","satisfaction_weight","sent","serialize","serialize","serialize","timestamp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","AccurateFees","Blockchain","Capability","Config","ConfigurableBlockchain","FullHistory","GetAnyTx","LogProgress","NoopProgress","Progress","ProgressData","any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone","clone_into","clone_into","clone_into","compact_filters","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","electrum","eq","equivalent","esplora","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","hash","init","init","init","into","into","into","log_progress","noop_progress","progress","setup","sync","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","AnyBlockchain","AnyBlockchainConfig","CompactFilters","CompactFilters","Electrum","Electrum","Esplora","Esplora","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","serialize","setup","sync","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Bip158","BitcoinPeerConfig","CompactFiltersBlockchain","CompactFiltersBlockchainConfig","CompactFiltersError","DataCorruption","Db","Global","InvalidFilter","InvalidFilterHeader","InvalidHeaders","InvalidResponse","Io","Mempool","MissingBlock","NoPeers","NotConnected","Peer","PeerBloomDisabled","Time","Timeout","add_tx","address","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone_into","clone_into","connect","connect_proxy","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","eq","eq","estimate_fee","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_mempool","get_network","get_tx","get_tx","get_version","has_tx","init","init","init","init","init","init","into","into","into","into","into","into","is_connected","iter_txs","ne","ne","network","new","new","peers","recv","send","serialize","serialize","setup","skip_blocks","socks5","socks5_credentials","storage_dir","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","ElectrumBlockchain","ElectrumBlockchainConfig","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","retry","serialize","setup","socks5","timeout","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","url","vzip","vzip","BitcoinEncoding","EsploraBlockchain","EsploraBlockchainConfig","EsploraError","HeaderHashNotFound","HeaderHeightNotFound","Hex","Parsing","Reqwest","TransactionNotFound","base_url","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone_into","concurrency","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","drop","drop","drop","eq","estimate_fee","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","init","into","into","into","ne","new","serialize","setup","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Batch","BatchDatabase","BatchOperations","Config","ConfigurableDatabase","Database","any","begin_batch","check_descriptor_checksum","commit_batch","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","memory","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","AnyBatch","AnyDatabase","AnyDatabaseConfig","Memory","Memory","Memory","Sled","Sled","Sled","SledDbConfiguration","begin_batch","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_descriptor_checksum","commit_batch","del_last_index","del_last_index","del_path_from_script_pubkey","del_path_from_script_pubkey","del_raw_tx","del_raw_tx","del_script_pubkey_from_path","del_script_pubkey_from_path","del_tx","del_tx","del_utxo","del_utxo","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","init","init","init","into","into","into","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","path","serialize","serialize","set_last_index","set_last_index","set_raw_tx","set_raw_tx","set_script_pubkey","set_script_pubkey","set_tx","set_tx","set_utxo","set_utxo","tree_name","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","MemoryDatabase","begin_batch","borrow","borrow_mut","check_descriptor_checksum","commit_batch","default","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","deref","deref_mut","drop","fmt","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","new","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","try_from","try_into","type_id","vzip","Bare","DerivedDescriptor","DerivedDescriptorKey","Descriptor","ExtendedDescriptor","ExtractPolicy","HdKeyPaths","IntoWalletDescriptor","KeyMap","Legacy","Miniscript","Pkh","ScriptContext","Segwitv0","Sh","Wpkh","Wsh","address","as_enum","as_enum","as_inner","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","desc_type","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","error","explicit_script","ext","extract_policy","extract_policy","extract_policy","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from_ast","from_str","from_str","from_str_insane","from_tree","from_tree","get_leaf_pk","get_leaf_pk_pkh","get_leaf_pkh","get_nth_child","get_nth_pk","get_nth_pk_pkh","get_nth_pkh","get_satisfaction","has_mixed_timelocks","has_repeated_keys","hash","hash","hash","hash","hash_to_hash160","init","init","init","init","init","into","into","into","into","into","into_inner","into_wallet_descriptor","is_deriveable","is_non_malleable","is_uncompressed","iter","iter_pk","iter_pk_pkh","iter_pkh","lift","lift","lift_check","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","ne","new","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_wpkh","new_wsh","new_wsh_sortedmulti","node","other_top_level_checks","parse","parse_descriptor","parse_insane","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialized_len","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_public_key","to_string","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","within_resource_limits","get_checksum","Base58","Bip32","DuplicatedKeys","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","deref","deref_mut","drop","fmt","fmt","from","from","from","from","from","from","from","from","init","into","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","Sha256Preimage","Signature","SignatureKey","Thresh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","contribution","csv","default","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","id","id","init","init","init","init","init","init","init","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","ne","ne","partial_cmp","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","2","2","2","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","drop","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","DescriptorSinglePriv","DescriptorSinglePub","Entropy","Error","ExtScriptContext","ExtendedKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","SinglePriv","SinglePub","SortedMultiVec","ValidNetworks","XPrv","XPub","any_network","as_enum","as_public","bip39","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_local_validity","check_terminal_non_malleable","check_witness","check_witness","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","compressed","default","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","derive_public_key","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","hash","hash","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_uncompressed","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","ne","ne","ne","new","origin","origin","other_top_level_checks","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","pks","sanity_check","satisfy","script_size","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_string","to_string","to_string","to_string","top_level_checks","top_level_checks","top_level_type_check","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","ChineseSimplified","ChineseTraditional","English","French","Italian","Japanese","Korean","Language","Mnemonic","MnemonicType","MnemonicWithPassphrase","Seed","Spanish","Words12","Words15","Words18","Words21","Words24","as_bytes","as_ref","as_ref","base32_len","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","checksum_bits","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","entropy","entropy_bits","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_key_size","for_phrase","for_word_count","from","from","from","from","from_entropy","from_language_code","from_phrase","generate_with_entropy","init","init","init","init","into","into","into","into","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_phrase","language","new","new","phrase","to_hex","to_hex","to_owned","to_owned","to_owned","to_owned","to_string","to_string","total_bits","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","validate","vzip","vzip","vzip","vzip","word_count","wordlist","wordmap","write_base32","zeroize","zeroize","zeroize","AddressIndex","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address_validator","borrow","borrow","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref_mut","deref_mut","drop","drop","export","finalize_psbt","fmt","fmt","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","init","init","into","into","is_dust","is_mine","list_transactions","list_unspent","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","try_from","try_from","try_into","try_into","tx_builder","type_id","type_id","vzip","vzip","AddressValidator","AddressValidatorError","ConnectionError","InvalidScript","Message","TimeoutError","UserRejected","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","fmt","fmt","from","init","into","ne","to_owned","to_string","try_from","try_into","type_id","validate","vzip","BranchAndBoundCoinSelection","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","LargestFirstCoinSelection","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","coin_select","coin_select","coin_select","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","fee_amount","fmt","fmt","fmt","from","from","from","init","init","init","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","deref","deref_mut","descriptor","deserialize","drop","export_wallet","fmt","from","from_str","init","into","label","serialize","to_string","try_from","try_into","type_id","vzip","0","Dummy","Fingerprint","InputIndexOutOfRange","InvalidKey","InvalidNonWitnessUtxo","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor_secret_key","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","find","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","hash","id","ids","init","init","init","init","init","into","into","into","into","into","ne","ne","new","partial_cmp","partial_cmp","remove","sign","sign_whole_tx","signers","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","get_timestamp","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","default","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","do_not_spend_change","drain_wallet","drop","drop","drop","drop","drop","enable_rbf","enable_rbf_with_sequence","eq","eq","equivalent","equivalent","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","init","init","init","init","init","into","into","into","into","into","maintain_single_recipient","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","set_single_recipient","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::blockchain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::compact_filters","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::electrum","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::esplora","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::memory","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys::bip39","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::address_validator","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::time","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Error that can be returned to fail the validation of an …","BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Compact filters client error)","Error related to the parsing and usage of descriptors","Electrum client error","Encoding error","Errors that can be thrown by the Wallet","Esplora client error","External","Fee rate","When bumping a tx the fee rate requested is lower than …","When bumping a tx the absolute fee requested is lower …","A UTXO owned by another wallet.","Generic error","Hex decoding error","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout …","Error while extracting and manipulating policies","Progress value must be between 0.0 (included) and 100.0 …","Wrong number of bytes found when trying to convert to u32","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error serializing or deserializing JSON data","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Progress update error (maybe the channel has been closed)","Partially signed bitcoin transaction error","This error is thrown when trying to convert Bare and …","An ECDSA error","Signing error","Found multiple outputs when single_recipient option has …","single_recipient option is selected but neither …","Sled database error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","A [Utxo] with its satisfaction_weight.","Return [KeychainKind] as a byte","","Return the value as satoshi/vbyte","","Blockchain backends","","","","","","","","","","","","","","","","","","","","","","","","","","","","Database types","","","Create a new [FeeRate] with the default min relay fee …","","","","","","","","","","","","","","","Descriptors","Macro to write full descriptors with code","","","","","","","","","","","","","","","","","","","","Fee value (sats)","","","","","","","","","Macro to write descriptor fragments with code","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of [FeeRate] given a float fee rate …","Create a new instance of [FeeRate] given a float fee rate …","","Confirmed in block height, None means unconfirmed","","","","","","","","","","","","","","","","","","","Type of keychain","Key formats","","","","","","Get the location of the UTXO","Reference to a transaction output","","Received value (sats)","The weight of the witness data and scriptSig expressed in …","Sent value (sats)","","","","Timestamp","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","Can compute accurate fees for the transactions found …","Trait that defines the actions that must be supported by …","Capabilities that can be supported by a [Blockchain] …","Type that contains the configuration","Trait for [Blockchain] types that can be created given a …","Can recover the full history of a wallet and not only the …","Can fetch any historical transaction given its txid","Type that implements [Progress] and logs at level INFO …","Type that implements [Progress] and drops every update …","Trait for types that can receive and process progress …","Data sent with a progress update over a [channel]","Runtime-checked blockchain types","","","","","","","Broadcast a transaction","","","","","","","Compact Filters","","","","","","","","","","Electrum","","","Esplora","Estimate the fee rate required to confirm a transaction …","","","","","Create a new instance given a configuration","Return the set of [Capability] supported by this backend","Return the current height","Fetch a transaction from the blockchain given its txid","","","","","","","","Create a nwe instance of [LogProgress]","Create a new instance of [NoopProgress]","Shortcut to create a [channel] (pair of [Sender] and […","Setup the backend and populate the internal database for …","Populate the internal database with transactions and UTXOs","","","","","","","","","","","","","Send a new progress update","","","","","","Type that can contain any of the [Blockchain] types …","Type that can contain any of the blockchain …","Compact filters client","Compact filters client","Electrum client","Electrum client","Esplora client","Esplora client","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Invalid BIP158 filter","Data to connect to a Bitcoin P2P peer","Structure implementing the required blockchain traits","Configuration for a [CompactFiltersBlockchain]","An error that can occur during sync with a […","The data stored in the block filters storage are corrupted","Internal database error","Wrapper for [crate::error::Error]","The compact filter returned is invalid","The compact filter headers returned are invalid","The headers returned are invalid","A peer sent an invalid or unexpected response","Internal I/O error","Container for unconfirmed, but valid Bitcoin transactions","The peer is missing a block in the valid chain","No peers have been specified","A peer is not connected","A Bitcoin peer","The peer doesn’t advertise the BLOOM service flag","Internal system time error","A peer took too long to reply to one of our messages","Add a transaction to the mempool","Peer address such as 127.0.0.1:18333","","","","","","","","","","","","","","","","","","Connect to a peer over a plaintext TCP connection","Connect to a peer through a SOCKS5 proxy, optionally by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the mempool used by this peer","Return the Bitcoin [Network] in use","Look-up a transaction in the mempool given an [Inventory] …","","Return the [VersionMessage] sent by the peer","Return whether or not the mempool contains a transaction …","","","","","","","","","","","","","Return whether or not the peer is still connected","Return the list of transactions contained in the mempool","","","Network used","Create a new empty mempool","Construct a new instance given a list of peers, a path to …","List of peers to try to connect to for asking headers and …","Waits for a specific incoming Bitcoin message, optionally …","Send a raw Bitcoin message to the peer","","","","Optionally skip initial skip_blocks blocks (default: 0)","Optional socks5 proxy","Optional socks5 proxy credentials","Storage dir to save partially downloaded headers and full …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper over an Electrum Client that implements the …","Configuration for an [ElectrumBlockchain]","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Request retry count","","","URL of the socks5 proxy server or a Tor service","Request timeout (seconds)","","","","","","","","URL of the Electrum server (such as ElectrumX, Esplora, …","","","Invalid Bitcoin data returned","Structure that implements the logic to sync with Esplora","Configuration for an [EsploraBlockchain]","Errors that can happen during a sync with […","Header hash not found","Header height not found","Invalid Hex data returned","Invalid number returned","Error with the HTTP call","Transaction not found","Base URL of the esplora service","","","","","","","","","","Number of parallel requests sent to the esplora service …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of the client from a base URL","","","","","","","","","","","","","","","","","Container for the operations","Trait for a database that supports batch operations","Trait for operations that can be batched","Type that contains the configuration","Trait for [Database] types that can be created given a …","Trait for reading data from a database","Runtime-checked database types","Create a new batch container","Read and checks the descriptor checksum for a given …","Consume and apply a batch of operations","Delete the last derivation index for a keychain.","Delete the data related to a specific script_pubkey, …","Delete a raw transaction given its [Txid]","Delete a script_pubkey given the keychain and its child …","Delete the metadata of a transaction and optionally the …","Delete a [LocalUtxo] given its [OutPoint]","Create a new instance given a configuration","Return the last defivation index for a keychain.","Fetch the keychain and child number of a given …","Fetch a raw transaction given its [Txid]","Fetch a script_pubkey given the child number of a …","Fetch the transaction metadata and optionally also the …","Fetch a [LocalUtxo] given its [OutPoint]","Increment the last derivation index for a keychain and …","Return the list of raw transactions","Return the list of script_pubkeys","Return the list of transactions metadata","Return the list of [LocalUtxo]s","In-memory ephemeral database","Store the last derivation index for a given keychain.","Store a raw transaction","Store a script_pubkey along with its keychain and child …","Store the metadata of a transaction","Store a [LocalUtxo]","Type that contains any of the [BatchDatabase::Batch] …","Type that can contain any of the [Database] types defined …","Type that can contain any of the database configurations …","In-memory ephemeral database","In-memory ephemeral database","Memory database has no config","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Configuration type for a [sled::Tree] database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Main directory of the db","","","","","","","","","","","","","Name of the database tree, a separated namespace for the …","","","","","","","","","","","","","","","","","In-memory ephemeral database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new empty database","","","","","","","","","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a [Descriptor] that contains extended derived …","Extended [DescriptorPublicKey] that has been derived","Script descriptor","Alias for a [Descriptor] that can contain extended keys …","Trait implemented on [Descriptor]s to add a method to …","Alias for the type of maps that represent derivation …","Trait for types which can be converted into an […","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","Pay-to-PubKey-Hash","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the …","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","","","","","","","","","Derives all wildcard keys in the descriptor using the …","Get the [DescriptorType] of [Descriptor]","","","","","","Encode as a Bitcoin script","","","","","","","","","","","Descriptor errors","Computes the “witness script” of the descriptor, i.e. …","Additional information helpful for extra analysis.","Extract the spending [policy]","","","","","","","","","","","","","","","","","","Add type information(Type and Extdata) to Miniscript …","","","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor","Parse an expression tree into a Miniscript. As a general …","Returns Vec with cloned version of all public keys from …","Returns Vec of [PkPkh] entries, representing either …","Returns Vec with hashes of all public keys from the …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns Option::Some with hash of n’th public key or …","Returns Option::Some with hash of n’th public key from …","Returns satisfying witness and scriptSig to spend an …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","","","","","","","","","","","","","","","","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","","Creates a new [Iter] iterator that will iterate over all […","Creates a new [PkIter] iterator that will iterate over …","Creates a new [PkPkhIter] iterator that will iterate over …","Creates a new [PkhIter] iterator that will iterate over …","","","Lifting corresponds conversion of miniscript into Policy […","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","","Construct a new derived key","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script…","Create a new sh wrapped wsh sortedmulti descriptor from …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation. …","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","","","","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Whether the descriptor is safe Checks whether all the …","Check whether the underlying Miniscript is safe under the …","Attempt to produce non-malleable satisfying witness for …","Attempt to produce a malleable satisfying witness for the …","Get the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor","Size, in bytes of the script-pubkey. If this Miniscript …","","Descriptor templates","","","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Convert a descriptor using abstract keys to one using …","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","Computes the scriptSig that will be in place for an …","","","","","","Whether the miniscript can exceed the resource …","Compute the checksum of a descriptor","Error during base58 decoding","BIP32 error","The descriptor contains multiple keys with the same BIP32 …","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid character found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","","","","","","","","","","","","","","Absolute timeclock timestamp","Can not add to an item that is [Satisfaction::None] or […","Can not add to an item that is […","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of [Condition] items keyed by each …","Type for a map of folded sets of [Condition] items keyed …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a […","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a […","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","Raw public key or extended key fingerprint","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","SHA256 preimage hash","Signature for a raw public key","Signature for an extended key fingerprint","Threshold items with threshold count","","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the conditions that are set by the spending policy …","","Returns a unique id for the [SatisfiableItem]","Identifier for this policy node","","","","","","","","","","","","","","","Returns whether the [SatisfiableItem] is a leaf item","Returns whether the [Satisfaction] is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timestamp value","The locktime value","","","","","","","","","","","","","","","","","","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of [DescriptorTemplate], …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor …","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The MiniscriptKey corresponding to Descriptors. This can …","A Secret Key that can be either a single key or an Xprv","A Single Descriptor Secret Key with optional origin …","A Single Descriptor Key with optional origin information","Type specifying the amount of entropy required e.g. …","Returned error in case of failure","Trait that adds extra useful methods to [ScriptContext]s","Enum for extended keys that can be either xprv or xpub","Trait that allows generating a key with the default …","Trait for keys that can be generated","Output of a [GeneratableKey] key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a [PrivateKey]","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid [ScriptContext]s","Segwitv0 scripts","Single Secret Key","Single Public Key","Contents of a “sortedmulti” descriptor","Set of valid networks for a key","Xprv","Xpub","Create a set containing mainnet, testnet and regtest","Returns the [ScriptContext] as a [ScriptContextEnum]","Return the public version of this key, by applying either …","BIP-0039","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","Consensus rules at the Miniscript satisfaction time. It …","Policy rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","Whether the generated key should be “compressed” or …","","","","","","","","","","","","","","","","","","","","","","","","","If this public key has a wildcard, replace it by the …","Computes the public key corresponding to this descriptor …","","","","","","","","","","","","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given …","Return whether or not the key contains the private data","","","","","","","","","","","","","","","","","","","","","","","","","Turn the key into a [DescriptorKey] within the requested […","Consume self and turn it into a [DescriptorKey] by adding …","","","","","","Consume self and turn it into an [ExtendedKey]","","","Consumes self and returns the key","Transform the [ExtendedKey] into an ExtendedPrivKey for …","Transform the [ExtendedKey] into an ExtendedPubKey for the…","Whether or not the key has a wildcards","Returns whether the script context is Legacy","Returns whether the script context is […","Returns whether the script context is Segwitv0","Returns whether the script context is […","","signatures required","The key","The key","","Create a set only containing mainnet","The fingerprint of the master key associated with this key","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","","","","Create a new instance of SortedMultiVec given a list of …","Origin information","Origin information","Other top level checks that are context specific","Other top level checks that are context specific","Override the computed set of valid networks","","","","public keys inside sorted Multi","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript …","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","","","","Check top level consensus rules.","Check top level consensus rules.","Check whether the top-level is type B","Check whether the top-level is type B","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The language determines which words will be used in a …","The primary type in this crate, most tasks require …","Determines the number of words that will be present in a …","Type for a BIP39 mnemonic with an optional passphrase","The secret value used to derive HD wallet addresses from …","","","","","","","Get the seed value as a byte slice","","","","","","","","","","","","","Return the number of checksum bits","","","","","","","","","","","","","","","","","","","","","","","","","Get the original entropy value of the mnemonic phrase as …","Return the number of entropy bits","","","","","","","","","","","","Get a MnemonicType for a mnemonic phrase representing the …","Get a MnemonicType for an existing mnemonic phrase","Get a MnemonicType for a mnemonic phrase with a specific …","","","","","Create a Mnemonic from pre-generated entropy","Construct a word list from its language code. Returns None…","Create a Mnemonic from an existing mnemonic phrase","","","","","","","","","","","","","","Consume the Mnemonic and return the phrase as a String.","Get the Language","Generates a new Mnemonic","Generates the seed from the Mnemonic and the password.","Get the mnemonic phrase as a string reference.","Outputs the hash in hexadecimal form","Outputs the hash in hexadecimal form","","","","","","","Return the number of entropy+checksum bits","","","","","","","","","","","","","Validate a mnemonic phrase","","","","","Return the number of words","Get the word list for this language","Get a [WordMap][WordMap] that allows word -> index …","","","","","The address index selection strategy to use to derived an …","Trait to check if a value is below the dust limit","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Return the address for a specific descriptor index. Does …","Return the address for a specific descriptor index and …","A Bitcoin wallet","Add an address validator","Add an external signer","Address validation callbacks","","","","","Broadcast a transaction to the network","Bump the fee of a transaction previously created with …","Start building a transaction.","Return a reference to the internal blockchain client","Coin selection","","","","","","","Wallet export","Try to finalize a PSBT","","","","","Return a derived address using the external descriptor, …","Return the balance, meaning the sum of this wallet’s …","Returns the descriptor used to create adddresses for a …","get the corresponding PSBT Input for a LocalUtxo","Returns the UTXO owned by this wallet corresponding to …","","","","","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Return the list of transactions made and received by the …","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a new “online” wallet","Create a new “offline” wallet","Return the spending policies for the wallet’s descriptor","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","Sign a transaction with all the wallet’s signers, in …","Generalized signers","Sync the internal database with the blockchain","Cross-platform time","","","","","Transaction builder","","","","","Trait to build address validators","Errors that can be returned to fail the validation of an …","Network connection error","Invalid script","A custom error message","Network request timeout error","User rejected the address","","","","","","","","","","","","","","","","","","","","","Validate or inspect an address","","Branch and bound coin selection","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Simple and dumb coin selection","","","","","","","","","Perform the coin selection","","","","","","","","","","","","","","Total fee amount in satoshi","","","","","","","","","","","","","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","Structure that contains the export of a wallet","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","","","Return the external descriptor","","","Export a wallet","","","","","","Arbitrary label for the wallet","","","","","","","","Dummy identifier","The fingerprint of a BIP32 extended key","Input index is out of range","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is requied to …","The witness_utxo field of the transaction is required to …","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Options for a software signer","Trait for signers","Signing error","Identifier of a signer in the SignersContainers. Used as …","Defines the order in which signers are called","Container for multiple signers","The user canceled the operation","Adds an external signer to the container for the …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","","","","","","","Return the [SignerId] for this signer","Returns the list of identifiers of all the signers in the …","","","","","","","","","","","","","Default constructor","","","Removes a signer from the container and returns it","Sign a PSBT","Return whether or not the signer signs the whole …","Returns the list of signers in the container, sorted by …","","","","","","","Whether the signer should trust the witness_utxo, if the …","","","","","","","","","","","","","","","","","","","","","Return the current timestamp in seconds","BIP69 / Lexicographic","Marker type to indicate the [TxBuilder] is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see […","Policy regarding the use of change outputs when creating …","Marker type to indicate the [TxBuilder] is being used to …","Only use change outputs (see [TxBuilder::only_spend_change…","Randomized (default)","A transaction builder","Context in which the [TxBuilder] is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be …","Add the list of outpoints to the internal list of UTXOs …","","","","","","","","","","","Set a specific [ChangeSpendPolicy]. See […","","","","","","","","","","","","","Choose the coin selection algorithm","","","","","","","","","","","","","","","Do not spend change outputs","Spend all the available inputs. This respects filters …","","","","","","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","","","Set an absolute fee","Set a custom fee rate","Finish the building the transaction.","","","","","","","","","","","","","Fill-in the psbt::Output::redeem_script and …","","","","","","","","","","","Bump the fees of a transaction made with …","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Set a single recipient that will get all the selected …","Sign with a specific sig hash","Sort transaction inputs and outputs by [TxOrdering] …","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[1,1,1,1,1,1,1,1,1,0,1,2,0,1,1,3,1,1,1,2,1,1,1,1,1,1,1,0,3,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,2,2,4,2,0,1,2,4,5,6,3,7,1,2,4,5,6,3,7,2,2,4,5,6,3,7,2,4,5,6,3,7,0,4,7,4,1,2,4,5,6,3,7,1,2,4,5,6,3,7,0,0,2,5,7,1,2,4,5,6,3,7,2,4,5,6,3,7,2,5,7,7,1,1,2,4,5,6,3,7,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,4,5,6,3,7,4,4,2,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,8,8,9,10,5,0,4,5,6,3,7,3,5,4,7,6,7,2,5,7,7,2,4,5,6,3,7,1,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,7,3,5,1,2,4,5,6,3,7,6,0,1,2,4,5,6,3,7,0,2,11,11,12,13,14,14,15,0,0,16,0,15,15,0,0,0,0,0,15,17,18,15,17,18,19,15,17,18,15,17,18,0,15,17,18,15,17,18,15,17,18,0,15,15,0,19,15,15,17,18,16,19,19,19,15,15,17,18,15,17,18,0,0,0,19,19,15,17,18,15,17,18,15,17,18,15,17,18,20,17,18,15,17,18,0,0,21,22,21,22,21,22,21,22,21,22,21,22,22,21,22,21,22,22,21,22,22,21,22,21,21,21,21,22,22,22,22,21,21,21,21,21,22,21,22,22,22,21,21,22,21,22,21,22,21,22,21,22,23,0,0,0,0,23,23,23,23,23,23,23,23,0,23,23,23,0,23,23,23,24,25,24,26,27,25,28,23,24,26,27,25,28,23,27,25,28,25,28,26,26,24,24,26,27,25,28,23,24,26,27,25,28,23,25,28,24,26,27,25,28,23,25,28,27,24,26,27,25,28,23,23,24,26,27,25,28,23,23,23,23,23,23,27,27,27,26,26,24,27,26,24,24,26,27,25,28,23,24,26,27,25,28,23,26,24,25,28,28,24,27,28,26,26,25,28,27,28,25,25,28,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,0,0,29,30,29,30,29,30,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,29,29,29,30,29,30,30,30,30,29,30,30,30,29,30,29,30,29,30,30,29,30,31,0,0,0,31,31,31,31,31,31,32,33,32,31,33,32,31,33,32,32,32,33,32,31,33,32,31,32,33,32,31,32,33,33,32,31,31,33,32,31,31,31,31,31,33,33,33,33,33,32,31,33,32,31,32,33,32,33,32,31,33,32,31,33,32,31,33,32,31,33,32,31,34,0,0,35,0,0,0,34,36,34,37,37,37,37,37,37,35,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,0,0,0,38,39,40,38,39,40,0,39,38,39,41,40,38,39,41,40,39,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,41,40,38,39,41,40,41,40,38,39,41,40,39,41,40,38,38,38,39,39,39,41,40,40,40,39,39,39,39,39,39,39,39,38,39,41,40,38,39,41,40,39,39,39,39,41,41,40,38,39,38,39,38,39,38,39,38,39,41,38,39,41,40,38,39,41,40,38,39,41,40,38,39,41,40,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,0,0,0,0,0,0,0,0,0,0,43,0,0,43,43,43,43,44,45,46,47,43,44,45,46,47,43,44,45,46,46,48,44,45,48,45,48,48,44,45,48,44,45,48,48,44,45,48,44,45,0,47,43,44,45,46,47,43,44,45,46,47,43,44,45,46,47,47,43,44,45,46,47,43,44,45,46,43,43,47,43,44,45,46,46,47,43,44,45,46,47,43,44,45,46,0,43,46,49,43,46,47,47,43,43,44,45,46,46,43,46,47,43,44,45,46,46,43,46,46,43,46,46,46,46,46,46,46,46,43,46,46,47,44,45,46,47,47,43,44,45,46,47,43,44,45,46,46,50,43,46,47,46,46,46,46,43,46,46,48,44,45,46,43,46,43,47,43,43,43,43,43,43,43,43,43,43,43,46,48,46,43,46,47,43,44,45,46,0,46,43,46,46,46,43,43,46,47,0,47,43,44,45,46,47,47,47,43,46,43,48,48,43,46,47,43,44,45,46,47,43,44,45,46,46,47,43,44,45,46,43,47,43,44,45,46,46,0,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,52,53,53,0,54,0,0,0,52,52,53,53,53,52,54,55,53,54,54,0,0,0,55,55,52,52,0,0,52,52,52,52,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,55,56,52,54,57,58,55,58,57,58,56,58,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,58,53,58,53,56,52,54,57,58,53,53,55,56,52,54,54,57,57,58,53,55,57,58,52,57,56,52,54,57,58,53,55,56,52,54,57,58,53,55,52,54,58,57,58,53,58,57,57,56,52,54,57,58,58,56,52,54,57,58,55,53,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,59,59,59,60,61,62,61,62,61,62,61,62,61,62,63,64,65,66,67,68,68,67,69,70,71,72,73,74,75,76,77,78,79,74,75,76,77,78,79,75,77,79,0,0,0,0,0,0,0,0,0,0,0,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,80,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,81,0,0,0,0,0,0,82,82,0,0,0,0,0,0,81,81,81,0,0,83,81,81,82,84,0,84,0,0,83,85,86,0,0,85,86,0,87,85,0,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,83,90,91,86,92,83,90,91,86,92,91,86,92,90,90,84,88,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,86,86,84,88,89,83,90,81,91,86,92,93,85,91,83,91,86,92,83,91,86,92,89,83,90,81,81,91,91,86,86,92,93,85,85,91,84,84,84,88,89,83,90,81,81,81,91,86,92,93,85,89,89,86,85,91,86,82,94,82,94,84,86,92,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,95,96,88,88,89,86,85,96,84,88,88,84,84,86,87,83,87,83,86,91,92,93,91,0,86,48,91,91,0,91,86,92,91,92,93,48,48,89,91,86,92,91,91,91,91,91,0,83,90,91,86,92,86,81,91,86,85,48,48,48,48,91,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,97,97,97,97,97,97,97,0,0,0,0,0,97,98,98,98,98,98,99,100,99,99,97,100,98,99,97,100,98,99,99,98,97,100,98,99,97,100,98,99,97,98,97,100,98,99,97,100,98,99,97,100,100,98,99,99,100,98,97,97,100,100,100,100,98,98,99,99,99,98,98,98,97,100,98,99,100,97,100,100,97,100,98,99,97,100,98,99,100,99,100,99,100,100,100,99,100,100,99,97,100,98,99,100,98,98,97,100,98,99,97,100,98,99,97,100,98,99,100,97,100,98,99,98,97,97,99,97,100,99,0,0,101,101,101,101,0,102,102,0,102,101,102,101,102,102,102,102,0,102,101,102,101,102,101,0,102,102,101,102,101,102,102,102,102,102,102,101,102,101,103,102,102,102,102,102,102,102,102,102,102,0,102,0,102,101,102,101,0,102,101,102,101,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,105,104,0,0,0,0,0,106,107,108,106,107,108,107,107,109,107,108,107,108,106,107,108,106,107,108,106,107,108,106,106,107,108,106,107,108,106,107,108,106,107,108,106,108,106,106,107,106,107,108,106,107,108,106,107,108,106,107,108,0,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,111,112,112,113,113,113,113,113,113,113,113,112,0,0,0,0,0,0,113,114,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,111,111,114,115,112,113,111,114,115,112,113,111,114,115,116,112,113,111,114,115,112,113,111,112,113,111,114,112,113,113,111,114,115,112,112,112,113,111,114,114,115,112,116,114,112,113,111,114,115,112,113,111,114,115,112,111,114,112,111,114,116,116,114,112,113,111,114,115,113,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,0,117,0,118,118,0,0,118,117,0,0,0,117,119,119,119,119,119,119,120,121,119,117,118,120,121,119,117,118,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118,119,119,117,118,117,118,119,119,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,119,117,118,120,121,119,117,118,119,119,119,119,119,119,117,118,119,119,119,119,117,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["u8",15]],[[]],[[],["f32",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3]]],[[],["keychainkind",4]],[[],["feerate",3]],[[],["localutxo",3]],[[],["weightedutxo",3]],[[],["utxo",4]],[[],["transactiondetails",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["transactiondetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["keychainkind",4]],["bool",15]],[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],null,[[["error",4]]],[[["error",3]]],[[["error",4]]],[[["error",4]]],[[]],[[["esploraerror",4]]],[[["error",4]]],[[["error",4]]],[[["policyerror",4]]],[[["signererror",4]]],[[["keyerror",4]],["error",4]],[[["compactfilterserror",4]]],[[["error",4]]],[[["addressvalidatorerror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["f32",15]]],[[["f32",15]]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["keysource",6],["option",4],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],null,null,[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["outpoint",3]],null,[[["feerate",3]],[["option",4],["ordering",4]]],null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["txout",3]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[],["str",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[],["result",4]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["capability",4]],[[],["noopprogress",3]],[[],["logprogress",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["capability",4]],["bool",15]],[[],["bool",15]],null,[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["option",4],["string",3],["f32",15]],[["result",4],["error",4]]],[[["option",4],["string",3],["f32",15]],[["result",4],["error",4]]],[[["option",4],["string",3],["f32",15]],[["result",4],["error",4]]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["anyblockchainconfig",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["anyblockchainconfig",4]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["compactfiltersblockchain",3]]],[[["esplorablockchain",3]]],[[["electrumblockchain",3]]],[[]],[[["compactfiltersblockchainconfig",3]]],[[["esplorablockchainconfig",3]]],[[["electrumblockchainconfig",3]]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["transaction",3]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["bitcoinpeerconfig",3]],[[],["compactfiltersblockchainconfig",3]],[[]],[[]],[[["tosocketaddrs",8],["mempool",3],["network",4],["arc",3]],[["result",4],["compactfilterserror",4]]],[[["tosocketaddrs",8],["mempool",3],["totargetaddr",8],["option",4],["arc",3],["network",4]],[["result",4],["compactfilterserror",4]]],[[],["mempool",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[["error",3]]],[[["systemtimeerror",3]]],[[]],[[["error",3]]],[[["error",4]]],[[["error",4]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[],[["arc",3],["mempool",3]]],[[],["network",4]],[[["inventory",4]],[["transaction",3],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["vec",3],["transaction",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["peer",3],["asref",8],["option",4],["vec",3],["usize",15],["path",3]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["compactfilterserror",4],["option",4],["result",4]]],[[["networkmessage",4]],[["compactfilterserror",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],null,null,null,null,[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["electrumblockchainconfig",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["electrumblockchainconfig",3]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["client",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],null,null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["esplorablockchainconfig",3]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["esplorablockchainconfig",3]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[["parseinterror",3]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["option",4],["str",15],["u8",15]]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["result",4],["error",4],["vec",3]]],null,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["tree",3]]],[[["memorydatabase",3]]],[[]],[[]],[[["sleddbconfiguration",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["result",4],["error",4],["vec",3]]],null,[[],["result",4]],[[],["result",4]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[],["memorydatabase",3]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["result",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["bool",15],["txid",3]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],["usize",15]],[[]],[[],[["vec",3],["result",4],["error",4]]],[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["result",4],["error",4],["vec",3]]],[[]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["network",4]],[["address",3],["result",4],["error",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["miniscript",3],["global",3]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],null,[[],["deriveddescriptorkey",3]],[[],["descriptor",4]],[[],["legacy",4]],[[],["segwitv0",4]],[[],["miniscript",3]],[[]],[[]],[[]],[[]],[[]],[[],["ordering",4]],[[["descriptor",4]],["ordering",4]],[[["legacy",4]],["ordering",4]],[[["segwitv0",4]],["ordering",4]],[[["miniscript",3]],["ordering",4]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]],[[],["descriptortype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[],["bool",15]],[[["descriptor",4]],["bool",15]],[[["legacy",4]],["bool",15]],[[["segwitv0",4]],["bool",15]],[[["miniscript",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[],["script",3]],null,[[["secp256k1",3],["signerscontainer",3],["buildsatisfaction",4]],[["option",4],["descriptorerror",4],["result",4]]],[[["secp256k1",3],["signerscontainer",3],["buildsatisfaction",4]],[["result",4],["option",4],["error",4]]],[[["secp256k1",3],["signerscontainer",3],["buildsatisfaction",4]],[["result",4],["option",4],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[]],[[["terminal",4]],[["result",4],["miniscript",3],["error",4]]],[[["str",15]],[["result",4],["error",4],["descriptor",4]]],[[["str",15]],[["result",4],["miniscript",3],["error",4]]],[[["str",15]],[["result",4],["miniscript",3],["error",4]]],[[["tree",3]],[["result",4],["error",4],["descriptor",4]]],[[["tree",3]],[["result",4],["miniscript",3],["error",4]]],[[],[["vec",3],["global",3]]],[[],[["global",3],["vec",3],["pkpkh",4]]],[[],[["vec",3],["global",3]]],[[["usize",15]],[["option",4],["miniscript",3]]],[[["usize",15]],["option",4]],[[["usize",15]],[["option",4],["pkpkh",4]]],[[["usize",15]],["option",4]],[[],[["result",4],["error",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[],["hash",3]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],["terminal",4]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["iter",3]],[[],["pkiter",3]],[[],["pkpkhiter",3]],[[],["pkhiter",3]],[[],[["error",4],["policy",4],["result",4]]],[[],[["error",4],["policy",4],["result",4]]],[[],[["result",4],["lifterror",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],[["usize",15],["error",4],["result",4]]],[[],[["usize",15],["error",4],["result",4]]],[[],[["usize",15],["error",4],["result",4]]],[[["descriptor",4]],["bool",15]],[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]],[[["miniscript",3],["barectx",4]],[["result",4],["error",4],["descriptor",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["legacy",4],["miniscript",3]],[["result",4],["error",4],["descriptor",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["error",4],["descriptor",4]]],[[],[["result",4],["error",4],["descriptor",4]]],[[["miniscript",3],["segwitv0",4]],[["result",4],["error",4],["descriptor",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["error",4],["descriptor",4]]],[[],[["result",4],["error",4],["descriptor",4]]],[[["miniscript",3],["segwitv0",4]],[["result",4],["error",4],["descriptor",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["error",4],["descriptor",4]]],null,[[["miniscript",3]],[["error",4],["result",4]]],[[["script",3]],[["result",4],["miniscript",3],["error",4]]],[[["secp256k1",3],["str",15]],[["error",4],["result",4]]],[[["script",3]],[["result",4],["miniscript",3],["error",4]]],[[],[["option",4],["ordering",4]]],[[["descriptor",4]],[["ordering",4],["option",4]]],[[["legacy",4]],[["ordering",4],["option",4]]],[[["segwitv0",4]],[["ordering",4],["option",4]]],[[["miniscript",3]],[["ordering",4],["option",4]]],null,[[],["bool",15]],[[],[["error",4],["result",4]]],[[],[["result",4],["analysiserror",4]]],[[],[["vec",3],["error",4],["result",4]]],[[],[["vec",3],["error",4],["result",4]]],[[],["script",3]],[[],["script",3]],[[],["usize",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["publickey",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["hashmap",3]],["string",3]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[],[["result",4],["descriptor",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["script",3]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[["str",15]],[["result",4],["string",3],["descriptorerror",4]]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[["policyerror",4]]],[[],["usize",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["pkorf",3]],[[],["satisfiableitem",4]],[[],["satisfaction",4]],[[],["policy",3]],[[],["condition",3]],[[],["buildsatisfaction",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[["condition",3]],["ordering",4]],null,null,[[],["pkorf",3]],[[],["condition",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["bool",15]]],[[["satisfiableitem",4]]],[[]],[[]],[[]],[[]],[[["btreemap",3]],[["policyerror",4],["result",4],["condition",3]]],[[]],[[],["string",3]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[["condition",3]],[["option",4],["ordering",4]]],[[],["bool",15]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["validnetworks",6]],[[],["scriptcontextenum",4]],[[["secp256k1",3]],[["descriptorkeyparseerror",3],["descriptorpublickey",4],["result",4]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],["scriptcontextenum",4]],[[],["privatekeygenerateoptions",3]],[[],["sortedmultivec",3]],[[],["descriptorpublickey",4]],[[],["descriptorsinglepub",3]],[[]],[[]],[[]],[[]],[[]],[[["sortedmultivec",3]],["ordering",4]],[[["descriptorpublickey",4]],["ordering",4]],[[["descriptorsinglepub",3]],["ordering",4]],null,[[]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],["descriptorpublickey",4]],[[["secp256k1",3]],[["result",4],["publickey",3],["conversionerror",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[["scriptcontextenum",4]],["bool",15]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[],["bool",15]],[[]],[[["extendedpubkey",3]]],[[["extendedprivkey",3]]],[[]],[[]],[[]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[["validnetworks",6],["descriptorpublickey",4]]],[[["descriptorsecretkey",4],["validnetworks",6]]],[[["str",15]],[["result",4],["descriptorpublickey",4]]],[[["str",15]],[["descriptorsecretkey",4],["result",4]]],[[["tree",3]],[["error",4],["sortedmultivec",3],["result",4]]],[[],["derivationpath",3]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],["bool",15]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["keysource",6],["option",4],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["keysource",6],["option",4],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[]],[[["network",4]],[["option",4],["extendedprivkey",3]]],[[["network",4],["secp256k1",3]],["extendedpubkey",3]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,null,null,[[],[["error",4],["policy",4],["result",4]]],[[],["validnetworks",6]],[[],["fingerprint",3]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[["validnetworks",6]],["validnetworks",6]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[["usize",15],["vec",3],["global",3]],[["error",4],["sortedmultivec",3],["result",4]]],null,null,[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["ordering",4],["option",4]]],[[["descriptorpublickey",4]],[["ordering",4],["option",4]]],[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]],null,[[],[["error",4],["result",4]]],[[],[["vec",3],["error",4],["result",4]]],[[],["usize",15]],[[],["terminal",4]],[[],["validnetworks",6]],[[]],[[]],[[]],[[]],[[]],[[],["descriptorpublickey",4]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[],[["sortedmultivec",3],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[],["str",15]],[[]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3]]],[[],["u8",15]],[[],["language",4]],[[],["mnemonic",3]],[[],["mnemonictype",4]],[[],["seed",3]],[[]],[[]],[[]],[[]],[[],["language",4]],[[],["mnemonictype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[]],[[["usize",15]]],[[]],[[],["usize",15]],[[["language",4]],["bool",15]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["usize",15]],[["error",3],["result",4],["mnemonictype",4]]],[[["str",15]],[["error",3],["result",4],["mnemonictype",4]]],[[["usize",15]],[["error",3],["result",4],["mnemonictype",4]]],[[]],[[]],[[]],[[]],[[["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[["str",15]],[["option",4],["language",4]]],[[["str",15],["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[],[["generatedkey",3],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["keysource",6],["option",4],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["keysource",6],["option",4],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[],[["extendedkey",4],["keyerror",4],["result",4]]],[[],["string",3]],[[],["language",4]],[[["mnemonictype",4],["language",4]],["mnemonic",3]],[[["str",15],["mnemonic",3]],["seed",3]],[[],["str",15]],[[],["string",3]],[[],["string",3]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["string",3]],[[],["usize",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["str",15],["language",4]],[["result",4],["error",3]]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["wordlist",3]],[[],["wordmap",3]],[[],["result",4]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[["arc",3],["addressvalidator",8]]],[[["arc",3],["signer",8],["keychainkind",4],["signerordering",3]]],null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4],["txid",3]]],[[["txid",3]],[["txbuilder",3],["result",4],["error",4]]],[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["signoptions",3],["psbt",3]],[["result",4],["bool",15],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["addressindex",4]],[["address",3],["error",4],["result",4]]],[[],[["result",4],["u64",15],["error",4]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["bool",15],["localutxo",3],["sighashtype",4],["option",4]],[["error",4],["input",3],["result",4]]],[[["outpoint",3]],[["option",4],["error",4],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["result",4],["bool",15],["error",4]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["result",4],["error",4],["vec",3]]],[[],["network",4]],[[["option",4],["intowalletdescriptor",8],["network",4]],[["result",4],["error",4]]],[[["option",4],["intowalletdescriptor",8],["network",4]],[["result",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[],["secp256k1",3]],[[["signoptions",3],["psbt",3]],[["result",4],["bool",15],["error",4]]],null,[[["option",4],["u32",15],["progress",8]],[["result",4],["error",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[]],[[],["addressvalidatorerror",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressvalidatorerror",4]],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[],["usize",15]],[[]],[[["addressvalidatorerror",4]],["bool",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[["hdkeypaths",6],["keychainkind",4],["script",3]],[["addressvalidatorerror",4],["result",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["f32",15],["feerate",3],["weightedutxo",3],["vec",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[["f32",15],["feerate",3],["weightedutxo",3],["vec",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[["f32",15],["feerate",3],["weightedutxo",3],["vec",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[],["largestfirstcoinselection",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["u64",15]],[[["u64",15]]],null,[[],["u64",15]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,[[]],[[]],[[],[["string",3],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[],["string",3]],[[],["result",4]],[[["usize",15]]],[[["wallet",3],["bool",15],["str",15]],[["str",15],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[["str",15]],["result",4]],[[],["usize",15]],[[]],null,[[],["result",4]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["arc",3],["signer",8],["signerid",4],["signerordering",3]],[["option",4],["arc",3]]],[[["secp256k1",3]],["keymap",6]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["signerid",4]],[[],["signererror",4]],[[],["signerordering",3]],[[],["signerscontainer",3]],[[],["signoptions",3]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["ordering",4]],[[["signerordering",3]],["ordering",4]],[[]],[[],["signerscontainer",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],[["descriptorsecretkey",4],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["signerid",4]],["bool",15]],[[["signererror",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["signerid",4]],[["arc",3],["option",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["fingerprint",3]],["signerid",4]],[[["hash",3]],["signerid",4]],[[]],[[]],[[]],[[]],[[["keymap",6]],["signerscontainer",3]],[[]],[[]],[[["secp256k1",3]],["signerid",4]],[[],[["signerid",4],["vec",3]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[]],[[["signerid",4]],[["option",4],["ordering",4]]],[[["signerordering",3]],[["option",4],["ordering",4]]],[[["signerid",4],["signerordering",3]],[["option",4],["arc",3]]],[[["option",4],["partiallysignedtransaction",3],["usize",15],["secp256k1",3]],[["signererror",4],["result",4]]],[[],["bool",15]],[[],[["arc",3],["vec",3]]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[],["u64",15]],null,null,null,null,null,null,null,null,null,null,null,null,[[["usize",15],["outpoint",3],["input",3]],[["error",4],["result",4]]],[[]],[[["script",3],["u64",15]]],[[["outpoint",3]]],[[["outpoint",3]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["changespendpolicy",4]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[],["txordering",4]],[[],["changespendpolicy",4]],[[]],[[]],[[]],[[]],[[]],[[["txordering",4]],["ordering",4]],[[["changespendpolicy",4]],["ordering",4]],[[["coinselectionalgorithm",8]],[["coinselectionalgorithm",8],["txbuilder",3]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["u32",15]]],[[["txordering",4]],["bool",15]],[[["changespendpolicy",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["u64",15]]],[[["feerate",3]]],[[],[["error",4],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],[["error",4],["result",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["option",4],["ordering",4]]],[[["changespendpolicy",4]],[["option",4],["ordering",4]]],[[["keychainkind",4],["vec",3],["btreemap",3],["string",3]]],[[["vec",3]]],[[["script",3]]],[[["sighashtype",4]]],[[["transaction",3]]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["outpoint",3],["vec",3]]],[[["i32",15]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"Error"],[4,"KeychainKind"],[4,"Utxo"],[3,"FeeRate"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[3,"TransactionDetails"],[6,"MnemonicWithPassphrase"],[6,"DescriptorTemplateOut"],[6,"ExtendedDescriptor"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[4,"Capability"],[8,"ConfigurableBlockchain"],[3,"NoopProgress"],[3,"LogProgress"],[8,"Blockchain"],[8,"Progress"],[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[4,"CompactFiltersError"],[3,"Mempool"],[3,"BitcoinPeerConfig"],[3,"Peer"],[3,"CompactFiltersBlockchain"],[3,"CompactFiltersBlockchainConfig"],[3,"ElectrumBlockchain"],[3,"ElectrumBlockchainConfig"],[4,"EsploraError"],[3,"EsploraBlockchainConfig"],[3,"EsploraBlockchain"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[8,"Database"],[8,"BatchOperations"],[4,"AnyBatch"],[4,"AnyDatabase"],[4,"AnyDatabaseConfig"],[3,"SledDbConfiguration"],[3,"MemoryDatabase"],[4,"Descriptor"],[4,"Legacy"],[4,"Segwitv0"],[3,"Miniscript"],[3,"DerivedDescriptorKey"],[8,"ScriptContext"],[8,"ExtractPolicy"],[8,"IntoWalletDescriptor"],[4,"Error"],[4,"SatisfiableItem"],[4,"PolicyError"],[4,"Satisfaction"],[4,"BuildSatisfaction"],[3,"PkOrF"],[3,"Policy"],[3,"Condition"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[8,"DescriptorTemplate"],[4,"KeyError"],[8,"GeneratableKey"],[4,"ScriptContextEnum"],[4,"ExtendedKey"],[4,"DescriptorSecretKey"],[4,"DescriptorPublicKey"],[8,"ExtScriptContext"],[3,"GeneratedKey"],[4,"DescriptorKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"DescriptorSinglePub"],[3,"DescriptorSinglePriv"],[8,"GeneratableDefaultOptions"],[8,"IntoDescriptorKey"],[8,"DerivableKey"],[4,"Language"],[4,"MnemonicType"],[3,"Seed"],[3,"Mnemonic"],[4,"AddressIndex"],[3,"Wallet"],[8,"IsDust"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[3,"LargestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[8,"CoinSelectionAlgorithm"],[3,"WalletExport"],[3,"SignerOrdering"],[4,"SignerId"],[4,"SignerError"],[3,"SignersContainer"],[3,"SignOptions"],[8,"Signer"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[3,"TxBuilder"],[3,"CreateTx"],[3,"BumpFee"]]}\ }'); if (window.initSearch) {window.initSearch(searchIndex)}; \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/search.js b/static/docs-rs/bdk/nightly/latest/search.js index db73a980db..fdd1f03324 100644 --- a/static/docs-rs/bdk/nightly/latest/search.js +++ b/static/docs-rs/bdk/nightly/latest/search.js @@ -1 +1 @@ -(function(){var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function printTab(nb){if(nb===0||nb===1||nb===2){searchState.currentTab=nb}var nb_copy=nb;onEachLazy(document.getElementById("titles").childNodes,function(elem){if(nb_copy===0){addClass(elem,"selected")}else{removeClass(elem,"selected")}nb_copy-=1});onEachLazy(document.getElementById("results").childNodes,function(elem){if(nb===0){elem.style.display=""}else{elem.style.display="none"}nb-=1})}function removeEmptyStringsFromArray(x){for(var i=0,len=x.length;i-1){var obj=searchIndex[results[i].id];obj.lev=results[i].lev;var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnPropertyRustdoc(results,entry)){ar.push(results[entry])}}results=ar;var i,len,result;for(i=0,len=results.length;ib?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function getObjectNameFromId(id){if(typeof id==="number"){return searchIndex[id].name}return id}function checkGenerics(obj,val){var tmp_lev,elem_name;if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);var elength=obj[GENERICS_DATA].length;for(var x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);len=obj[GENERICS_DATA].length;for(x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length!==0){var tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}else{return 0}}if(literalSearch){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){return obj[GENERICS_DATA].some(function(name){return name===val.name})}return false}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}else if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i1?paths.length-1:1);var lev,j;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=ty.id;if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||ty.normalizedName.indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=ty.normalizedName.indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)){lev+=1}else{lev=MAX_LEV_DISTANCE+1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}if(in_args<=MAX_LEV_DISTANCE){if(results_in_args[fullId]===undefined){results_in_args[fullId]={id:j,index:index,lev:in_args,}}results_in_args[fullId].lev=Math.min(results_in_args[fullId].lev,in_args)}if(returned<=MAX_LEV_DISTANCE){if(results_returned[fullId]===undefined){results_returned[fullId]={id:j,index:index,lev:returned,}}results_returned[fullId].lev=Math.min(results_returned[fullId].lev,returned)}if(index!==-1||lev<=MAX_LEV_DISTANCE){if(index!==-1&&paths.length<2){lev=0}if(results[fullId]===undefined){results[fullId]={id:j,index:index,lev:lev,}}results[fullId].lev=Math.min(results[fullId].lev,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results,false),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type,query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function initSearchNav(){var hoverTimeout;var click_func=function(e){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}var dst=e.target.getElementsByTagName("a");if(dst.length<1){return}dst=dst[0];if(window.location.pathname===dst.pathname){searchState.hideResults();document.location.href=dst.href}};var mouseover_func=function(e){if(searchState.mouseMovedAfterSearch){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}clearTimeout(hoverTimeout);hoverTimeout=setTimeout(function(){onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){removeClass(i_e,"highlighted")})});addClass(el,"highlighted")},20)}};onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){i_e.onclick=click_func;i_e.onmouseover=mouseover_func})});searchState.input.onkeydown=function(e){var actives=[[],[],[]];var current=0;onEachLazy(document.getElementById("results").childNodes,function(e){onEachLazy(e.getElementsByClassName("highlighted"),function(h_e){actives[current].push(h_e)});current+=1});var SHIFT=16;var CTRL=17;var ALT=18;var currentTab=searchState.currentTab;if(e.which===38){if(e.ctrlKey){printTab(currentTab>0?currentTab-1:2)}else{if(!actives[currentTab].length||!actives[currentTab][0].previousElementSibling){return}addClass(actives[currentTab][0].previousElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===40){if(e.ctrlKey){printTab(currentTab>1?0:currentTab+1)}else if(!actives[currentTab].length){var results=document.getElementById("results").childNodes;if(results.length>0){var res=results[currentTab].getElementsByClassName("result");if(res.length>0){addClass(res[0],"highlighted")}}}else if(actives[currentTab][0].nextElementSibling){addClass(actives[currentTab][0].nextElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===13){if(actives[currentTab].length){var elem=actives[currentTab][0].getElementsByTagName("a")[0];document.location.href=elem.href}}else if([SHIFT,CTRL,ALT].indexOf(e.which)!==-1){}else if(actives[currentTab].length>0){removeClass(actives[currentTab][0],"highlighted")}}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var enumNameIdx=item.path.lastIndexOf("::");var enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraStyle="";if(display===false){extraStyle=" style=\"display: none;\""}var output="";var duplicates={};var length=0;if(array.length>0){output="";array.forEach(function(item){var name,type;name=item.name;type=itemTypes[item.ty];if(item.is_alias!==true){if(duplicates[item.fullPath]){return}duplicates[item.fullPath]=true}length+=1;output+=""});output+="
    "+""+(item.is_alias===true?(""+item.alias+"  - see "):"")+item.displayPath+""+name+""+""+""+item.desc+" 
    "}else{output="
    No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:
    "}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results){var search=searchState.outputElement();if(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText)){var elem=document.createElement("a");elem.href=results.others[0].href;elem.style.display="none";document.body.appendChild(elem);elem.click();return}var query=getQuery(searchState.input.value);currentResults=query.id;var ret_others=addTab(results.others,query);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);var currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="

    Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"

    "+"
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "+ret_others[0]+ret_in_args[0]+ret_returned[0]+"
    ";search.innerHTML=output;searchState.showResults(search);initSearchNav();var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}var queries=query.raw.split(",");var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=searchState.getQueryStringParams();var query=getQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(!forced&&query.id===currentResults){if(query.query.length>0){searchState.putBackSearch(searchState.input)}return}searchState.title="Results for "+query.query+" - Rust";if(searchState.browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,index,filterCrates))}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i,word;var currentIndex=0;var id=0;for(var crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}var crateSize=0;searchWords.push(crate);var crateRow={crate:crate,ty:1,name:crate,path:"",desc:rawSearchIndex[crate].doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;var itemTypes=rawSearchIndex[crate].t;var itemNames=rawSearchIndex[crate].n;var itemPaths=rawSearchIndex[crate].q;var itemDescs=rawSearchIndex[crate].d;var itemParentIdxs=rawSearchIndex[crate].i;var itemFunctionSearchTypes=rawSearchIndex[crate].f;var paths=rawSearchIndex[crate].p;var aliases=rawSearchIndex[crate].a;var len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:itemFunctionSearchTypes[i],id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]={};var j,local_aliases;for(var alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}local_aliases=aliases[alias_name];for(j=0,len=local_aliases.length;j0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=function(){var qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}index=buildIndex(rawSearchIndex);registerSearchEvents();if(searchState.getQueryStringParams().search){search()}};if(window.searchIndex!==undefined){initSearch(window.searchIndex)}})() \ No newline at end of file +(function(){var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function printTab(nb){if(nb===0||nb===1||nb===2){searchState.currentTab=nb}var nb_copy=nb;onEachLazy(document.getElementById("titles").childNodes,function(elem){if(nb_copy===0){addClass(elem,"selected")}else{removeClass(elem,"selected")}nb_copy-=1});onEachLazy(document.getElementById("results").childNodes,function(elem){if(nb===0){addClass(elem,"active")}else{removeClass(elem,"active")}nb-=1})}function removeEmptyStringsFromArray(x){for(var i=0,len=x.length;i-1){var obj=searchIndex[results[i].id];obj.lev=results[i].lev;var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnPropertyRustdoc(results,entry)){ar.push(results[entry])}}results=ar;var i,len,result;for(i=0,len=results.length;ib?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function getObjectNameFromId(id){if(typeof id==="number"){return searchIndex[id].name}return id}function checkGenerics(obj,val){var tmp_lev,elem_name;if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);var elength=obj[GENERICS_DATA].length;for(var x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=Object.create(null);len=obj[GENERICS_DATA].length;for(x=0;xGENERICS_DATA&&obj[GENERICS_DATA].length!==0){var tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}else{return 0}}if(literalSearch){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){return obj[GENERICS_DATA].some(function(name){return name===val.name})}return false}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}else if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i1?paths.length-1:1);var lev,j;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=ty.id;if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||ty.normalizedName.indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=ty.normalizedName.indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)){lev+=1}else{lev=MAX_LEV_DISTANCE+1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}if(in_args<=MAX_LEV_DISTANCE){if(results_in_args[fullId]===undefined){results_in_args[fullId]={id:j,index:index,lev:in_args,}}results_in_args[fullId].lev=Math.min(results_in_args[fullId].lev,in_args)}if(returned<=MAX_LEV_DISTANCE){if(results_returned[fullId]===undefined){results_returned[fullId]={id:j,index:index,lev:returned,}}results_returned[fullId].lev=Math.min(results_returned[fullId].lev,returned)}if(index!==-1||lev<=MAX_LEV_DISTANCE){if(index!==-1&&paths.length<2){lev=0}if(results[fullId]===undefined){results[fullId]={id:j,index:index,lev:lev,}}results[fullId].lev=Math.min(results[fullId].lev,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results,false),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type,query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function nextTab(direction){var next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){var target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);if(target){target.focus()}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var enumNameIdx=item.path.lastIndexOf("::");var enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraClass="";if(display===true){extraClass=" active"}var output="";var duplicates={};var length=0;if(array.length>0){output="
    ";array.forEach(function(item){if(item.is_alias!==true){if(duplicates[item.fullPath]){return}duplicates[item.fullPath]=true}var name=item.name;var type=itemTypes[item.ty];length+=1;var extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}output+=""+"
    "+(item.is_alias===true?(""+item.alias+"  - see "):"")+item.displayPath+""+name+extra+"
    "+""+item.desc+" 
    "});output+="
    "}else{output="
    No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:
    "}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results){var search=searchState.outputElement();if(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText)){var elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}var query=getQuery(searchState.input.value);currentResults=query.id;var ret_others=addTab(results.others,query);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);var currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="

    Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"

    "+"
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "+ret_others[0]+ret_in_args[0]+ret_returned[0]+"
    ";search.innerHTML=output;searchState.focusedByTab=[null,null,null];searchState.showResults(search);var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}var queries=query.raw.split(",");var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=searchState.getQueryStringParams();var query=getQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(!forced&&query.id===currentResults){if(query.query.length>0){searchState.putBackSearch(searchState.input)}return}searchState.title="Results for "+query.query+" - Rust";if(searchState.browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,index,filterCrates))}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i,word;var currentIndex=0;var id=0;for(var crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}var crateSize=0;searchWords.push(crate);var crateRow={crate:crate,ty:1,name:crate,path:"",desc:rawSearchIndex[crate].doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;var itemTypes=rawSearchIndex[crate].t;var itemNames=rawSearchIndex[crate].n;var itemPaths=rawSearchIndex[crate].q;var itemDescs=rawSearchIndex[crate].d;var itemParentIdxs=rawSearchIndex[crate].i;var itemFunctionSearchTypes=rawSearchIndex[crate].f;var paths=rawSearchIndex[crate].p;var aliases=rawSearchIndex[crate].a;var len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:itemFunctionSearchTypes[i],id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]={};var j,local_aliases;for(var alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}local_aliases=aliases[alias_name];for(j=0,len=local_aliases.length;j0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=function(){var qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}index=buildIndex(rawSearchIndex);registerSearchEvents();if(searchState.getQueryStringParams().search){search()}};if(window.searchIndex!==undefined){initSearch(window.searchIndex)}})() \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/source-files.js b/static/docs-rs/bdk/nightly/latest/source-files.js index 363eeb119d..d9bc4c3780 100644 --- a/static/docs-rs/bdk/nightly/latest/source-files.js +++ b/static/docs-rs/bdk/nightly/latest/source-files.js @@ -1,3 +1,3 @@ var N = null;var sourcesIndex = {}; -sourcesIndex["bdk"] = {"name":"","dirs":[{"name":"blockchain","dirs":[{"name":"compact_filters","files":["mod.rs","peer.rs","store.rs","sync.rs"]}],"files":["any.rs","electrum.rs","esplora.rs","mod.rs","utils.rs"]},{"name":"database","files":["any.rs","keyvalue.rs","memory.rs","mod.rs"]},{"name":"descriptor","files":["checksum.rs","derived.rs","dsl.rs","error.rs","mod.rs","policy.rs","template.rs"]},{"name":"keys","files":["bip39.rs","mod.rs"]},{"name":"psbt","files":["mod.rs"]},{"name":"wallet","files":["address_validator.rs","coin_selection.rs","export.rs","mod.rs","signer.rs","time.rs","tx_builder.rs","utils.rs"]}],"files":["error.rs","lib.rs","types.rs"]}; +sourcesIndex["bdk"] = {"name":"","dirs":[{"name":"blockchain","dirs":[{"name":"compact_filters","files":["mod.rs","peer.rs","store.rs","sync.rs"]}],"files":["any.rs","electrum.rs","esplora.rs","mod.rs","utils.rs"]},{"name":"database","files":["any.rs","keyvalue.rs","memory.rs","mod.rs"]},{"name":"descriptor","files":["checksum.rs","derived.rs","dsl.rs","error.rs","mod.rs","policy.rs","template.rs"]},{"name":"keys","files":["bip39.rs","mod.rs"]},{"name":"psbt","files":["mod.rs"]},{"name":"testutils","files":["mod.rs"]},{"name":"wallet","files":["address_validator.rs","coin_selection.rs","export.rs","mod.rs","signer.rs","time.rs","tx_builder.rs","utils.rs"]}],"files":["error.rs","lib.rs","types.rs"]}; createSourceSidebar(); diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html index f2cab52dc5..355d4b3360 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html @@ -226,13 +226,6 @@ /// See the [`blockchain::electrum`](crate::blockchain::electrum) module for a usage example. pub struct ElectrumBlockchain(Client); -#[cfg(test)] -#[cfg(feature = "test-electrum")] -#[bdk_blockchain_tests(crate)] -fn local_electrs() -> ElectrumBlockchain { - ElectrumBlockchain::from(Client::new(&testutils::get_electrum_url()).unwrap()) -} - impl std::convert::From<Client> for ElectrumBlockchain { fn from(client: Client) -> Self { ElectrumBlockchain(client) @@ -356,6 +349,13 @@ )?)) } } + +#[cfg(feature = "test-blockchains")] +crate::bdk_blockchain_tests! { + fn test_instance() -> ElectrumBlockchain { + ElectrumBlockchain::from(Client::new(&testutils::blockchain_tests::get_electrum_url()).unwrap()) + } +}
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html index 0e4c9a972b..1f5392ef21 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html @@ -417,6 +417,13 @@ 414 415 416 +417 +418 +419 +420 +421 +422 +423
     // Bitcoin Dev Kit
     // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    @@ -834,6 +841,13 @@
     impl_error!(std::num::ParseIntError, Parsing, EsploraError);
     impl_error!(consensus::encode::Error, BitcoinEncoding, EsploraError);
     impl_error!(bitcoin::hashes::hex::Error, Hex, EsploraError);
    +
    +#[cfg(feature = "test-blockchains")]
    +crate::bdk_blockchain_tests! {
    +    fn test_instance() -> EsploraBlockchain {
    +        EsploraBlockchain::new(std::env::var("BDK_ESPLORA_URL").unwrap_or("127.0.0.1:3002".into()).as_str(), None)
    +    }
    +}
     
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html index caa6faf6f0..8013740ec0 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html @@ -1099,7 +1099,7 @@ () => {{ use $crate::bitcoin::Network; use $crate::database::MemoryDatabase; - use testutils::testutils; + use $crate::testutils; let descriptor = "wpkh(cVpPVruEDdmutPzisEsYvtST1usBR3ntr8pXSyt6D2YYqXRyPcFW)"; let descriptors = testutils!(@descriptors (descriptor) (descriptor)); diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html index f5c39f9ab7..22751e2a60 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html @@ -270,6 +270,7 @@ 267 268 269 +270
     // Bitcoin Dev Kit
     // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    @@ -503,16 +504,10 @@
     
     #[allow(unused_imports)]
     #[cfg(test)]
    -#[macro_use]
    -extern crate testutils;
    -#[allow(unused_imports)]
    -#[cfg(test)]
    -#[macro_use]
    -extern crate testutils_macros;
     #[allow(unused_imports)]
     #[cfg(test)]
     #[macro_use]
    -extern crate serial_test;
    +pub extern crate serial_test;
     
     #[macro_use]
     pub(crate) mod error;
    @@ -540,6 +535,13 @@
     pub fn version() -> &'static str {
         env!("CARGO_PKG_VERSION", "unknown")
     }
    +
    +// We should consider putting this under a feature flag but we need the macro in doctets so we need
    +// to wait until https://github.com/rust-lang/rust/issues/67295 is fixed.
    +//
    +// Stuff in here is too rough to document atm
    +#[doc(hidden)]
    +pub mod testutils;
     
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html new file mode 100644 index 0000000000..22c30457ea --- /dev/null +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html @@ -0,0 +1,467 @@ +mod.rs - source + +
      1
    +  2
    +  3
    +  4
    +  5
    +  6
    +  7
    +  8
    +  9
    + 10
    + 11
    + 12
    + 13
    + 14
    + 15
    + 16
    + 17
    + 18
    + 19
    + 20
    + 21
    + 22
    + 23
    + 24
    + 25
    + 26
    + 27
    + 28
    + 29
    + 30
    + 31
    + 32
    + 33
    + 34
    + 35
    + 36
    + 37
    + 38
    + 39
    + 40
    + 41
    + 42
    + 43
    + 44
    + 45
    + 46
    + 47
    + 48
    + 49
    + 50
    + 51
    + 52
    + 53
    + 54
    + 55
    + 56
    + 57
    + 58
    + 59
    + 60
    + 61
    + 62
    + 63
    + 64
    + 65
    + 66
    + 67
    + 68
    + 69
    + 70
    + 71
    + 72
    + 73
    + 74
    + 75
    + 76
    + 77
    + 78
    + 79
    + 80
    + 81
    + 82
    + 83
    + 84
    + 85
    + 86
    + 87
    + 88
    + 89
    + 90
    + 91
    + 92
    + 93
    + 94
    + 95
    + 96
    + 97
    + 98
    + 99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +
    +// Bitcoin Dev Kit
    +// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    +//
    +// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
    +//
    +// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
    +// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
    +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
    +// You may not use this file except in accordance with one or both of these
    +// licenses.
    +#![allow(missing_docs)]
    +
    +#[cfg(feature = "test-blockchains")]
    +pub mod blockchain_tests;
    +
    +use bitcoin::secp256k1::{Secp256k1, Verification};
    +use bitcoin::{Address, PublicKey};
    +
    +use miniscript::descriptor::DescriptorPublicKey;
    +use miniscript::{Descriptor, MiniscriptKey, TranslatePk};
    +
    +#[derive(Clone, Debug)]
    +pub struct TestIncomingOutput {
    +    pub value: u64,
    +    pub to_address: String,
    +}
    +
    +impl TestIncomingOutput {
    +    pub fn new(value: u64, to_address: Address) -> Self {
    +        Self {
    +            value,
    +            to_address: to_address.to_string(),
    +        }
    +    }
    +}
    +
    +#[derive(Clone, Debug)]
    +pub struct TestIncomingTx {
    +    pub output: Vec<TestIncomingOutput>,
    +    pub min_confirmations: Option<u64>,
    +    pub locktime: Option<i64>,
    +    pub replaceable: Option<bool>,
    +}
    +
    +impl TestIncomingTx {
    +    pub fn new(
    +        output: Vec<TestIncomingOutput>,
    +        min_confirmations: Option<u64>,
    +        locktime: Option<i64>,
    +        replaceable: Option<bool>,
    +    ) -> Self {
    +        Self {
    +            output,
    +            min_confirmations,
    +            locktime,
    +            replaceable,
    +        }
    +    }
    +
    +    pub fn add_output(&mut self, output: TestIncomingOutput) {
    +        self.output.push(output);
    +    }
    +}
    +
    +#[doc(hidden)]
    +pub trait TranslateDescriptor {
    +    // derive and translate a `Descriptor<DescriptorPublicKey>` into a `Descriptor<PublicKey>`
    +    fn derive_translated<C: Verification>(
    +        &self,
    +        secp: &Secp256k1<C>,
    +        index: u32,
    +    ) -> Descriptor<PublicKey>;
    +}
    +
    +impl TranslateDescriptor for Descriptor<DescriptorPublicKey> {
    +    fn derive_translated<C: Verification>(
    +        &self,
    +        secp: &Secp256k1<C>,
    +        index: u32,
    +    ) -> Descriptor<PublicKey> {
    +        let translate = |key: &DescriptorPublicKey| -> PublicKey {
    +            match key {
    +                DescriptorPublicKey::XPub(xpub) => {
    +                    xpub.xkey
    +                        .derive_pub(secp, &xpub.derivation_path)
    +                        .expect("hardened derivation steps")
    +                        .public_key
    +                }
    +                DescriptorPublicKey::SinglePub(key) => key.key,
    +            }
    +        };
    +
    +        self.derive(index)
    +            .translate_pk_infallible(|pk| translate(pk), |pkh| translate(pkh).to_pubkeyhash())
    +    }
    +}
    +
    +#[doc(hidden)]
    +#[macro_export]
    +macro_rules! testutils {
    +    ( @external $descriptors:expr, $child:expr ) => ({
    +        use bitcoin::secp256k1::Secp256k1;
    +        use miniscript::descriptor::{Descriptor, DescriptorPublicKey, DescriptorTrait};
    +
    +        use $crate::testutils::TranslateDescriptor;
    +
    +        let secp = Secp256k1::new();
    +
    +        let parsed = Descriptor::<DescriptorPublicKey>::parse_descriptor(&secp, &$descriptors.0).expect("Failed to parse descriptor in `testutils!(@external)`").0;
    +        parsed.derive_translated(&secp, $child).address(bitcoin::Network::Regtest).expect("No address form")
    +    });
    +    ( @internal $descriptors:expr, $child:expr ) => ({
    +        use bitcoin::secp256k1::Secp256k1;
    +        use miniscript::descriptor::{Descriptor, DescriptorPublicKey, DescriptorTrait};
    +
    +        use $crate::testutils::TranslateDescriptor;
    +
    +        let secp = Secp256k1::new();
    +
    +        let parsed = Descriptor::<DescriptorPublicKey>::parse_descriptor(&secp, &$descriptors.1.expect("Missing internal descriptor")).expect("Failed to parse descriptor in `testutils!(@internal)`").0;
    +        parsed.derive_translated(&secp, $child).address(bitcoin::Network::Regtest).expect("No address form")
    +    });
    +    ( @e $descriptors:expr, $child:expr ) => ({ testutils!(@external $descriptors, $child) });
    +    ( @i $descriptors:expr, $child:expr ) => ({ testutils!(@internal $descriptors, $child) });
    +
    +    ( @tx ( $( ( $( $addr:tt )* ) => $amount:expr ),+ ) $( ( @locktime $locktime:expr ) )? $( ( @confirmations $confirmations:expr ) )? $( ( @replaceable $replaceable:expr ) )? ) => ({
    +        let outs = vec![$( $crate::testutils::TestIncomingOutput::new($amount, testutils!( $($addr)* ))),+];
    +
    +        let locktime = None::<i64>$(.or(Some($locktime)))?;
    +
    +        let min_confirmations = None::<u64>$(.or(Some($confirmations)))?;
    +        let replaceable = None::<bool>$(.or(Some($replaceable)))?;
    +
    +        $crate::testutils::TestIncomingTx::new(outs, min_confirmations, locktime, replaceable)
    +    });
    +
    +    ( @literal $key:expr ) => ({
    +        let key = $key.to_string();
    +        (key, None::<String>, None::<String>)
    +    });
    +    ( @generate_xprv $( $external_path:expr )? $( ,$internal_path:expr )? ) => ({
    +        use rand::Rng;
    +
    +        let mut seed = [0u8; 32];
    +        rand::thread_rng().fill(&mut seed[..]);
    +
    +        let key = bitcoin::util::bip32::ExtendedPrivKey::new_master(
    +            bitcoin::Network::Testnet,
    +            &seed,
    +        );
    +
    +        let external_path = None::<String>$(.or(Some($external_path.to_string())))?;
    +        let internal_path = None::<String>$(.or(Some($internal_path.to_string())))?;
    +
    +        (key.unwrap().to_string(), external_path, internal_path)
    +    });
    +    ( @generate_wif ) => ({
    +        use rand::Rng;
    +
    +        let mut key = [0u8; bitcoin::secp256k1::constants::SECRET_KEY_SIZE];
    +        rand::thread_rng().fill(&mut key[..]);
    +
    +        (bitcoin::PrivateKey {
    +            compressed: true,
    +            network: bitcoin::Network::Testnet,
    +            key: bitcoin::secp256k1::SecretKey::from_slice(&key).unwrap(),
    +        }.to_string(), None::<String>, None::<String>)
    +    });
    +
    +    ( @keys ( $( $alias:expr => ( $( $key_type:tt )* ) ),+ ) ) => ({
    +        let mut map = std::collections::HashMap::new();
    +        $(
    +            let alias: &str = $alias;
    +            map.insert(alias, testutils!( $($key_type)* ));
    +        )+
    +
    +        map
    +    });
    +
    +    ( @descriptors ( $external_descriptor:expr ) $( ( $internal_descriptor:expr ) )? $( ( @keys $( $keys:tt )* ) )* ) => ({
    +        use std::str::FromStr;
    +        use std::collections::HashMap;
    +        use miniscript::descriptor::Descriptor;
    +        use miniscript::TranslatePk;
    +
    +        #[allow(unused_assignments, unused_mut)]
    +        let mut keys: HashMap<&'static str, (String, Option<String>, Option<String>)> = HashMap::new();
    +        $(
    +            keys = testutils!{ @keys $( $keys )* };
    +        )*
    +
    +        let external: Descriptor<String> = FromStr::from_str($external_descriptor).unwrap();
    +        let external: Descriptor<String> = external.translate_pk_infallible::<_, _>(|k| {
    +            if let Some((key, ext_path, _)) = keys.get(&k.as_str()) {
    +                format!("{}{}", key, ext_path.as_ref().unwrap_or(&"".into()))
    +            } else {
    +                k.clone()
    +            }
    +        }, |kh| {
    +            if let Some((key, ext_path, _)) = keys.get(&kh.as_str()) {
    +                format!("{}{}", key, ext_path.as_ref().unwrap_or(&"".into()))
    +            } else {
    +                kh.clone()
    +            }
    +
    +        });
    +        let external = external.to_string();
    +
    +        let internal = None::<String>$(.or({
    +            let string_internal: Descriptor<String> = FromStr::from_str($internal_descriptor).unwrap();
    +
    +            let string_internal: Descriptor<String> = string_internal.translate_pk_infallible::<_, _>(|k| {
    +                if let Some((key, _, int_path)) = keys.get(&k.as_str()) {
    +                    format!("{}{}", key, int_path.as_ref().unwrap_or(&"".into()))
    +                } else {
    +                    k.clone()
    +                }
    +            }, |kh| {
    +                if let Some((key, _, int_path)) = keys.get(&kh.as_str()) {
    +                    format!("{}{}", key, int_path.as_ref().unwrap_or(&"".into()))
    +                } else {
    +                    kh.clone()
    +                }
    +            });
    +            Some(string_internal.to_string())
    +        }))?;
    +
    +        (external, internal)
    +    })
    +}
    +
    +
    + \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html index 26794eabfb..1f6d32ac32 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html @@ -304,7 +304,7 @@ let (mut wallet, descriptors, _) = get_funded_wallet(get_test_wpkh()); wallet.add_address_validator(Arc::new(TestValidator)); - let addr = testutils!(@external descriptors, 10); + let addr = crate::testutils!(@external descriptors, 10); let mut builder = wallet.build_tx(); builder.add_recipient(addr.script_pubkey(), 25_000); builder.finish().unwrap(); diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html index 141341f405..4d6d9ed48f 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html @@ -3810,6 +3810,7 @@ 3807 3808 3809 +3810
     // Bitcoin Dev Kit
     // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    @@ -5327,6 +5328,7 @@
         use crate::types::KeychainKind;
     
         use super::*;
    +    use crate::testutils;
         use crate::wallet::AddressIndex::{LastUnused, New, Peek, Reset};
     
         #[test]