Files
boc/aamos-ledger-rust/target/release/deps/libthiserror-39e83342e6d9ed26.rlib
T

93 lines
33 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 8 `
// 68 `
thiserror-39e83342e6d9ed26.thiserror.862e90a981104351-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 32736 `
ELF·`~@@GNUÀrust
÷{#rustc 1.96.0 (ac68faa20 2026-05-25)ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8Á¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁòÖÀH•‘PIÓHã#£-055f30b747f859b6Árustc_std_workspace_coreÁ­Cçß^ò½èÝ$­Çÿ+Cé-c4878ee60b2242c9ÁŸÃï+Ñ]ŠqB<ÏïW#-8dd1dd90e70d0b6aÁ miniz_oxideÁ€š»J(P>àö÷g\K-1eb618da2918ab7fÁadler2ÁÆ;+Þ®5¥Ìýݰ¦ÛLˆ-f7919172d268e069Á hashbrownÁPäV9ÒÆèÜ"ÊÖVŽ\-0fc2184a5da6723aÁrustc_std_workspace_allocÁs&ØòØy¯s•bæ!‰ýŠ-97e4bf30be240674Á
std_detectÁhŠBîÙºÌI®ËÅš-9dbbf8346ba7ac8bÁrustc_demangleÁûë9´Ç×@Œ’ùXFº-f33013f239bf9f14Ácfg_ifÁÜLhž§Œaã¯>­-0a71c8f33a838301Á addr2lineÁ׎Þ!]8V$É@@-e618e6be60e87ba2ÁgimliÁ¸
°µ~Î1‹Ñt ðÁ€w-1f7768a68858f670ÁobjectÁ
áPÃ?­À¶¼QHJ¥-914cd6a4dbe590d1ÁmemchrÁ›º«8Ór­2Ù $¨ûib-cf21ca6f2bb15dcdÁë
‹ás«LÖ€îâƒ×ɯŒ-ee6f3747e38367f0Áthiserror_implÁÀaÛ¨:扽[mÁ1Ì-f82ca863408ecbadÁ" placeholderÁ\ö
»À
ŒÞ
provideÁ<²Ferror_generic_member_accessÁÜFLThiserrorProvideÁ„°±ÜkíÀíaserrorÁ
AsDynErrorÁ'aÁ as_dyn_errorÁ ¾  ¥ Ç ¾ Ç ¾ Ç ¾ Ç ¾ Ç SealedÁ¥ displayÁ"""""" AsDisplayÁ(¾ (å(
as_displayÁ",¾ ,¥,å,£ "1¾ 1å1£ "5¾ 5å5£ "»
":¥""½>>>>VarÁB
B¾ B¥Bˆ>G¾ G¥G×privateÁLLLLL __private18ÁR








!
,
:
J
J
J
(9¥¾ ¾¾ ¾ ¾Ìì¾ ¾ ¾ Ìì¾ ¾ ¾ Ì쫽¾ ¾ ¥¾8¾Ìì8¾ Ìì8¾ Ì쫽8( 8¥¾ (…0…0PathÁ†0innerÁß-bªŸðcÂ^¾ (€/€/PathBufÁ/°ß-1ùjÝÜ»€¾ 9 99ÜÎcBBC³ Fˆ ¸Sý‹gÂY¾ ë ¾¾¾¾¾¾ ¾!¾,
1…05€/:
<…0=€/GBY(9Îc$“ ¾üÝ@ôŒ÷ ë /¦ôgôôn$– üà@ôŒúô ,ôôUôô\ôªüê@ôŒ„ ¾Ìì <üôjôôqô»üû@ôŒ• ¾ Ìì,‹ AøôoôôvôÙü™@ôŒ³ ¾ Ì쫽 Gùôuôô|Û0üž=  ó 2¥úØUúØ ˆˆOsStrÁ°ë//˜þÑ/üÅõÜ ¼
ÙýéØ'‡ ×0
Ù4üÑFýºØ\‡¿0ýÆÜMõM…Ù×0×0tÙ0°ß-ìjqjè:à ¼¼t¾os_strÁë˜N<Ârc"Ãb ÍbPÍ!ÕÖç%Ƚ­âNý‚¦Pmº¦E¿¦ E€¸ OsStringÁ°ëY6a×é5W†b†bBufÁ‡b°]B&>©ýyªBªBö­BbufÁ÷<®B÷<9)
-ÜnLçEçEèEGlobalÁ ¿±‡§í#((RawVecÁ+°,_markerÁµ!iÇ÷åÖ_ª­-- RawVecInnerÁ/µ 0capÁ1¤/‰6< ”I­UniqueÁ žú8Åá™-Ýñª§ ïíe¼îËè¿*ªuäÈ ª Eɦ
¾íQ 
ª
Ѧ
ý€¦R"ýÓ%N  ÀaÀaÙÁa°çqÉàÝvš
÷N­“í -“í ý’í'
 Í
¸í  UÖç
ýÕç+‡ 
ÿçô ð
÷
ͽ ¼
º
 ×0 ± Ö8üFýÆ?‡Î/ýýæŠ0µéýÆ¿/ÑEØçýŸ½3º%ë¿ý¿¹jµ>ýûNäaU˜ºýÜÏBª­Ný¨ÇÐÑBª­eýZIEª­-íÈýê¶N Z­ª-ÍZ ýÌ·[
\­ª}š·
ýº-Ço ¯ªª5‰¸ ý²™µ% ¯ªª5Ý.o ý†~û%
ªªEÌš%
ýò#Mo ¬ª¸ 3
ªªEª·
ýáëàãýû¹(^¿0YõU Ü#Õ"Íô!­º ±!Î ±!Ïö Ì¥!´È Õ" ö!%Ö¯¬uj¦üÎ
Ïcë,'óJü‡lÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ŸÈŸÈ ÈErrorÁ O˜éBL\¸ BBC³ Fˆ ¸Sý‹gÂYë  c cˆ¢cµ
 `£c `àB¤GS
L•¦NW formatterÁ(:¤)ì! BëC'æ*2¦9@ ">LRíÀ¸Eí$éEÁ)ý×6¡Güš [![github]](https://github.com/dtolnay/thiserror)&ensp;[![crates-io]](https://crates.io/crates/thiserror)&ensp;[![docs-rs]](https://docs.rs/thiserror)ÁúüŸjg [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=githubÁüŠnk [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rustÁüùmj [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rsÁçú <br>ÁôúüøNK This library provides a convenient derive macro for the standard library'sÁüÇ  [`std::error::Error`] trait.Áèúô0õú
# ExampleÁú\ ```rustÁ”— # use std::io;Á̪ use thiserror::Error;ÁÄúÜÈ #[derive(Error, Debug)]Áìä pub enum DataStoreError {Áü‚+( #[error("data store disconnected")]Áü®&# Disconnect(#[from] io::Error),ÁüÕ;8 #[error("the data for key `{0}` is not available")]ÁÔ‘ Redaction(String),Áü¬KH #[error("invalid header (expected {expected:?}, found {found:?})")]Á¼ø InvalidHeader {Áì expected: String,ÁÔ® found: String,Á },ÁüÔ,) #[error("unknown data store error")]Á 
Unknown,Á, <˜  ```Á  úô0­ ú
# DetailsÁ¿ úüà LI - Thiserror deliberately does not appear in your public API. You get theÁü
;8 same thing as if you had written an implementation ofÁüÌ
LI [`std::error::Error`] by hand, and switching from handwritten impls toÁü™ 74 thiserror or vice versa is not a breaking change.ÁÑ úüÕ LI - Errors may be enums, structs with named fields, tuple structs, or unitÁ  structs.Á± úüµ C@ - A [`Display`] impl is generated for your error if you provideÁüù OL `#[error("...")]` messages on the struct or each variant of your enum, asÁüÉ
! shown above in the example.Áë
úüï
OL The messages support a shorthand for interpolating fields from the error.Á¿úüÃDA - `#[error("{var}")]`&ensp;⟶&ensp;`write!("{}", self.var)`Áüˆ@= - `#[error("{0}")]`&ensp;⟶&ensp;`write!("{}", self.0)`ÁüÉHE - `#[error("{var:?}")]`&ensp;⟶&ensp;`write!("{:?}", self.var)`Áü’DA - `#[error("{0:?}")]`&ensp;⟶&ensp;`write!("{:?}", self.0)`Á×úüÛLI These shorthands can be used together with any additional format args,Áü¨63 which may be arbitrary expressions. For example:Áßú
```rustÁ´ñ # use core::i32;Áìˆ # use thiserror::Error;Áì® #[derive(Error, Debug)]Á´Ì pub enum Error {ÁüãYV #[error("invalid rdo_lookahead_frames {0} (expected < {max})", max = i32::MAX)]Áü½  InvalidLookahead(u32),Á ```ÁðúüôPM If one of the additional expression arguments needs to refer to a field ofÁüÅOL the struct or enum, then refer to named fields as `.var` and tuple fieldsÁt• as `.0`.Á¤ú°Bì¶åBCüÜ+( # fn first_char(s: &String) -> char {Áüˆ%" # s.chars().next().unwrap()Á # }Á<¸CÄÀ # #[derive(Debug)]Á¼Ù # struct Limits {Á´ñ # lo: usize,Á´ˆ # hi: usize,ÁùG‹Cì±›C´ÏÁCüæQN #[error("first letter must be lowercase but was {:?}", first_char(.0))]Áä¸ WrongCase(String),ÁüÕfc #[error("invalid index {idx}, expected at least {} and at most {}", .limits.lo, .limits.hi)]Áü¼52 OutOfBounds { idx: usize, limits: Limits },ÁíDýDúüˆMJ - A [`From`] impl is generated for each variant that contains a `#[from]`Á„Ö
attribute.ÁçúüëNK The variant using `#[from]` must not contain any other fields beyond theÁüºHE source error (and possibly a backtrace &mdash; see below). UsuallyÁüƒMJ `#[from]` fields are unnamed, but `#[from]` is allowed on a named fieldÁ too.ÁÜú°Büî'$ # use core::fmt::{self, Display};Á¤– # use std::io;Áì«åBC¬Ñ # mod globset {Áüç.+ # #[derive(thiserror::Error, Debug)]ÁÜ– # #[error("...")]Áì² # pub struct Error;ÁùG‹CìâCÄ€ pub enum MyError {Áü™  Io(#[from] io::Error),Áüº'$ Glob(#[from] globset::Error),ÁíDCüò" # impl Display for MyError {Áü• JG # fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {Áüà  # unimplemented!()Ál!
# }ÁL!ùGL™!ýD£!úü§!NK - The Error trait's [`source()`] method is implemented to return whicheverÁüö!MJ field has a `#[source]` attribute or is named `source`, if any. This isÁüÄ"NK for identifying the underlying lower level error that caused your error.Á“#úü—#PM The `#[from]` attribute always implies that the same field is `#[source]`,Áüè#85 so you don't ever need to specify both attributes.Á¡$úü¥$PM Any error type that implements `std::error::Error` or dereferences to `dynÁüö$/, std::error::Error` will work as a source.Á¦%úlª%°Bü¸%'ÂOìà%åB<þ%Cì†&CÔ¤& pub struct MyError {Á´¿& msg: String,ÁüÖ&:7 #[source] // optional if field name is `source`Áü‘'  source: anyhow::Error,Á<²'íD<º'CüÂ'"€Süå'J¬Sü°( €TlÑ(©TLß(ùGLé(ýDó(úü÷(PM - The Error trait's [`provide()`] method is implemented to provide whicheverÁüÈ)63 field has a type named `Backtrace`, if any, as aÁüÿ)KH [`std::backtrace::Backtrace`]. Using `Backtrace` in errors requires aÁüË*74 nightly compiler with Rust version 1.73 or newer.Áƒ+úl‡+°Bü•+)& # const IGNORE: &str = stringify! {Áü¿+$! use std::backtrace::Backtrace;Áä+úìè+›CÔ†,úY´¡,Zü¸,:7 backtrace: Backtrace, // automatically detectedÁ<ó,íDTû, # };ÁL†-ýD-úü”-HE - If a field is both a source (named `source`, or has `#[source]` orÁüÝ-IF `#[from]` attribute) *and* is marked `#[backtrace]`, then the ErrorÁü§.LI trait's [`provide()`] method is forwarded to the source's `provide` soÁüô.PM that both layers of the error share the same backtrace. The `#[backtrace]`ÁüÅ/LI attribute requires a nightly compiler with Rust version 1.73 or newer.Á0úl–0°Bü¤0)â^ìÎ0›CÄì0ëQt…1 Io {ÁÔ”1 #[backtrace]Áü¯1  source: io::Error,ÁdÐ1 },Á<Ý1íDTå1Â`Lð1ýDú1úüþ1MJ - For variants that use `#[from]` and also contain a `Backtrace` field, aÁüÌ285 backtrace is captured from within the `From` impl.Á…3úl‰3°Bü—3)â^ìÁ3›CÄß3ëQtø3Õd¬‡4 #[from]Áü4 eü¾4# backtrace: Backtrace,Ádâ4¹e<ï4íDT÷4Â`L5ýDŒ5úü5OL - Errors may use `error(transparent)` to forward the source and [`Display`]Áüà5GD methods straight through to an underlying error without adding anÁü¨6JG additional message. This would be appropriate for enums that need anÁôó6 "anything else" variant.Á7úL–7ýDì 7åB<¾7CìÆ7CÄä7ëQtý7 # /*ÁlŒ8
...Átš8 # */Á©8úü­8 #[error(transparent)]ÁüÍ8XU Other(#[from] anyhow::Error), // source and Display delegate to anyhow::ErrorÁ<¦9íDL®9ýD¸9úü¼9C@ Another use case is hiding implementation details of an errorÁü€:OL representation behind an opaque error type, so that the representation isÁüÐ:=: able to evolve without breaking the crate's public API.ÁŽ;úL’;ýDìœ;åB<º;CüÂ;GD // PublicError is public, but opaque and easy to keep compatible.ÁìŠ<Cܨ< #[error(transparent)]ÁüÄ<0- pub struct PublicError(#[from] ErrorRepr);Áõ<úÄù< impl PublicError {Áü’=B? // Accessors for anything we do want to expose publicly.Á<Õ=íDÝ=úüá=FC // Private and free to change across minor version of the crate.Áì¨>C´Æ> enum ErrorRepr {ÁtÝ>áklì>øktú>Žl<‰?íDL?ýD?úüŸ?OL - See also the [`anyhow`] library for a convenient single error type to useÁÔï? in application code.ÁŠ@úüŽ@1. [`anyhow`]: https://github.com/dtolnay/anyhowÁüÀ@+( [`source()`]: std::error::Error::sourceÁüì@-* [`provide()`]: std::error::Error::provideÁüšA" [`Display`]: std::fmt::DisplayÁ https://docs.rs/thiserror/2.0.18ÁlÐA">LRíÀí"Á)4K„«EÄÕE"\ðE<ôEÁ),¾
UnwindSafeÁT)«½üE 4<TO¾  ÎìüEU“z4_z#zz-z$

Zül,doT T“z T¾¾  |
“z¾ $}üœ,¾ ¥

 Íìë ¥¾ëë¾ °ë
¡24 üÝ+U    í
¾ ëü¡*¾ ý
¦üà+V æ} ð
¾ ü¤1¾ 
©üê+W W—  ú
¾ ü®8¾ ·
³üû+X   
¾ ü¿E¾ Ü
Äü™+Y   ©
¾ „ì‹zœì‹z‹zÜ€¥Íì ¾ôŸ8ZZüÁ%8[[¦üê,8\\¿üš98]]Ý\ýE<F(9t<Äc"#õ
$@ß-"%£$F…0"&æ<L€/"'”HL4;$9.0 "üf4]Lp(¾ )()züfÑ9“z4(‹z$ü„z/ü„&*+*+Íì“z¾ *¬òÄc»…<ÿ³…Ï…+z¤ò((ü(T ¾ “z»…((