Files
boc/aamos-ledger-rust/target/debug/deps/libthiserror-e63afde3d96b9a14.rlib
T

88 lines
31 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 8 `
// 68 `
thiserror-e63afde3d96b9a14.thiserror.a133b4e56b33241b-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 30800 `
ELF·Ðv@@GNUÀrust
ot#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Á
²,v€ϸ6»˜-248901177889560cÁ" 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ˆ óù}(;º¤ü¾ ë ¾¾¾¾¾¾ ¾!¾,
1…05€/:
<…0=€/GBY(9Îc$“ ¾üÝ@ôŒ÷ ë /¦ôgôôn$– üà@ôŒúô ,ôôUôô\ôªüê@ôŒ„ ¾Ìì <üôjôôqô»üû@ôŒ• ¾ Ìì,‹ AøôoôôvôÙü™@ôŒ³ ¾ Ì쫽 Gùôuôô|Û0üž=  ó 2<ˆ
¿04üÑF×0×0tÙ0°ß-ìjqjè:à  [¹œ
ë!Ü"(¹"Ö8üFî Ü£|6à˜¹¦üÎ
Ïcë/*óJü‡lÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ŸÈŸÈ ÈErrorÁ O˜éBL\¸ BBC³ Fˆ óù}(;º¤üë  c cˆ¢cµ
 `£cbufÁ `àB¤GS
L•¦QZ 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.Áèúê#õú
# 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,Á, <˜  ```Á  úê#­ ú
# 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`.Á¤ú¦5ì¶Û56üÜ+( # fn first_char(s: &String) -> char {Áüˆ%" # s.chars().next().unwrap()Á # }Á<¸6ÄÀ # #[derive(Debug)]Á¼Ù # struct Limits {Á´ñ # lo: usize,Á´ˆ # hi: usize,Áï:6챑6´Ï·6üæ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 },Áã7ó7úüˆ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.ÁÜú¦5üî'$ # use core::fmt::{self, Display};Á¤– # use std::io;Áì«Û56¬Ñ # mod globset {Áüç.+ # #[derive(thiserror::Error, Debug)]ÁÜ– # #[error("...")]Áì² # pub struct Error;Áï:6ìâ6Ä€ pub enum MyError {Áü™  Io(#[from] io::Error),Áüº'$ Glob(#[from] globset::Error),Áã76üò" # impl Display for MyError {Áü• JG # fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {Áüà  # unimplemented!()Ál!
# }ÁL!ï:L™!ó7£!úü§!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ª%¦5ü¸%'¸Bìà%Û5<þ%6ì†&6Ô¤& pub struct MyError {Á´¿& msg: String,ÁüÖ&:7 #[source] // optional if field name is `source`Áü‘'  source: anyhow::Error,Á<²'ã7<º'6üÂ'"öEüå'J¢Fü°( öFlÑ(ŸGLß(ï:Lé(ó7ó(úü÷(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‡+¦5ü•+)& # const IGNORE: &str = stringify! {Áü¿+$! use std::backtrace::Backtrace;Áä+úìè+‘6Ô†,ðL´¡,“Mü¸,:7 backtrace: Backtrace, // automatically detectedÁ<ó,ã7Tû, # };ÁL†-ó7-úü”-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¦5ü¤0)ØQìÎ0‘6Äì0áDt…1 Io {ÁÔ”1 #[backtrace]Áü¯1  source: io::Error,ÁdÐ1 },Á<Ý1ã7Tå1¸SLð1ó7ú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¦5ü—3)ØQìÁ3‘6Äß3áDtø3ËW¬‡4 #[from]Áü4 †Xü¾4# backtrace: Backtrace,Ádâ4¯X<ï4ã7T÷4¸SL5ó7Œ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ó7ì 7Û5<¾76ìÆ76Ää7áDtý7 # /*ÁlŒ8
...Átš8 # */Á©8úü­8 #[error(transparent)]ÁüÍ8XU Other(#[from] anyhow::Error), // source and Display delegate to anyhow::ErrorÁ<¦9ã7L®9ó7¸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’;ó7ìœ;Û5<º;6üÂ;GD // PublicError is public, but opaque and easy to keep compatible.ÁìŠ<6ܨ< #[error(transparent)]ÁüÄ<0- pub struct PublicError(#[from] ErrorRepr);Áõ<úÄù< impl PublicError {Áü’=B? // Accessors for anything we do want to expose publicly.Á<Õ=ã7Ý=úüá=FC // Private and free to change across minor version of the crate.Áì¨>6´Æ> enum ErrorRepr {ÁtÝ>×^lì>î^tú>„_<‰?ã7L?ó7?úüŸ?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ívÀ혼ªKvvv„«EÄÕE˜\ðE<ôE¼,¾
UnwindSafeÁT)«½üE 4<TO¾  ÎìüEU‰m4_m#“mm-“m$

Zül,doT T‰m T¾¾  |
‰m¾ $}üœ,¾ ¥

 Íìë ¥¾ëë¾ °ë
¡24 üÝ+U    í
¾ ëü¡*¾ ý
¦üà+V Üp ð
¾ ü¤1¾ 
©üê+W W—  ú
¾ ü®8¾ ·
³üû+X   
¾ ü¿E¾ Ü
Äü™+Y   ©
¾ „ìmœìmmÜ€¥Íì ¾ôŸ8ZZüÁ%8[[¦üê,8\\¿üš98]]Ý\ýE<F(9t<Äc"#õ
$@ß-"%£$F…0"&æ<L€/"'”HL4;$9.0 "üf4]Lp(¾ )()müfÑ9‰m4(m$òwm.òw$*+*+Íì‰m¾ *¬òÄc¯x<ÿ§xÃx +z¤ò((ü(T ¾ ‰m¯x((
+‰m¾ ü¹D¾ -8^¥.-.^Îì ÂÄc¾ ú/0*+0¾79-\„4‰,, ¾ †üž' ¾ ¾ *,,
0¾ 8ü÷»À¼ß¾ 2234*+4ü\11×0×0tÙ0°ß-ìjqjè:ྠüÑ' ¾ ™¾ *11
4¾ ü³"»À¼›¾ 66Ü78*+8¸55£|ü'T“ ¾ Üܾ *55
8¾ „é99mœé9mmüý'8_¥;;_Îìë Äcë<…¤À»À¼¨¼ð»À¼ØÜ<»F¿FBC×$¤,>@<Îc>AL$
",¾ D¥EDEß 4þnL?¿óù}(;º¤üCF ¾ ë¿"_æ¿BB
C¾ ë0xzBBæüL4¾ H¥IIHß UÎcë<X¿JÏcJQ"$ü‡<Š`ab `¿ a c cˆ¢cµ
 `£c¹ `àB¤GS
bÚG ŽG
J¾ ë$÷ÚtÍF\áF<åF­ T'M LZ(N³ åBO³ CO¼¾P BacktraceÁLûƒiÌJ_|ÙV”<Ìë4\­ ¨SM ª(SN³ ¬BSO³ ½CSO¼°¾SPÄ„©ƒSQtDm    

»ä$*Ñ0 ×6 ¢<ŠA  GLªMH^https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rsÁgithubÁ$https://github.com/dtolnay/thiserrorÁ crates-ioÁ\https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=githubÁŠ provide()Ástd::error::Error::provideÁÀstd::error::ErrorÁ
std::errorÁstd::fmt::DisplayÁÄc!https://github.com/dtolnay/anyhowÁ]https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rustÁÞ†Á‡̇tŠééˆÀhttps://docs.rs/thiserrorÁ›‰±‰anyhowÁÛ‰ŠÁ‡tstd::error::Error::sourceÁdocs-rsÁ’‹›‰¾std::backtraceÁÁ‹Û‰source()Átâ‹¿"https://crates.io/crates/thiserrorÁ€Œ’‹std::backtrace::BacktraceÁŒÁ‹std::fmtÁ¼Œâ‹ƒˆõ‡ØŒ€Œ÷ˆŒñÀ‰µ¼ŒÞ†ƒˆ̇õ‡ØŒŠéˆ÷ˆÃƒÀ±‰À‰µ¤,ŠÃLðìŠ  غãàéæ³Œ""“""Û Þ ã ŒMÃMÐLÇLùMÌìÍì“íµßíß$3kå´3¡˜–溸ù®&öcÉ{QrËJ›Ð^‰
êzi§ñ# !\M­âîçódônåÎY%ЮG1\¸@¡; ºU·Øh^ viºs²%IÜÎs(ÃQ˜›ÔwÃzÂq¡‡¡Ä •HõË¥øà±‘j˜Å„a‡a*ÚÐ}Us,À“è³èGÆÂûˆ½çßÀröõËv>!ãèKqr!íHþ²K'8zõeT:±Te9·.þ;æî ¢÷ƒhxÓöƒÊ[l;(•” 
Å;ÝAU}j-náa`];¢9PÌ¡–ÒØ×ÙÌ>>z¾Põ«U/~í5¶@ðmÑT”?M$¶¤K¾Ž­oü^N1˜|Ó¹]ÝvÑKôa—b7ÿ/¼2I<Þ§ÔÊ¡·Ï'T!Ь<Zbv5<ÙXh¹c