Files
thefoldwithin-earth/.old2/target/wasm32-unknown-unknown/release/deps/libthiserror-b5f17e12eddf1d5a.rlib
T

70 lines
26 KiB
Plaintext
Raw Normal View History

2025-10-19 16:48:12 -05:00
!<arch>
/ 0 0 0 0 8 `
// 68 `
thiserror-b5f17e12eddf1d5a.thiserror.8be34371120ed520-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 25976 `
asm linkingáÊ.rmetarust
¾c#rustc 1.90.0 (1159e78c4 2025-09-14)Á®K:kVQÛ‘å÷Ú†
-896f64118b892ee1Á˜ø½E—y88àìOg[-a0f3a77406fcd134ÁÙ$î„xÁLòd ƒCøm Q1-d07b5e2c2a0f2336ÁÒµÅL®Ùp,ØnWš÷*Ó-eed239b623db52f0Á Êï#|ذ*ªuz¥zÑ-22622f072d82cf02Árustc_std_workspace_coreÁ¡Lˆ"'WycÈú®¨Ç?˜-62776efff7f53db8Á/»óoÊ•Ú<ã] õ-c656a6ce8faf7d92Ácfg_ifÁNgpÝiä5R-z#ë~·-a28c175c29d7456aÁ miniz_oxideÁ'&=ÝTÒ4B1K8Ý=ïx-99a9ab44d6ca7927Áadler2ÁdR¯Š³Y^Ø÷v˜z¸ê-6814a63e25073aa9Á hashbrownÁøOvtÊ(äSÿídRœiè-a938d680cd164e6dÁrustc_std_workspace_allocÁ”–«cÒXdŸEÁ¨:dn,-60b329376530a3eeÁ
std_detectÁÌÆ0 >g×ÄvU„X-d0198f5966fd6781Árustc_demangleÁùDw'$ú‚­·:Ä-f9a3916c8c8bb672ÁdlmallocÁßÊ 'U}ÌG#' w-d6bed5b52996429dÁthiserror_implÁ[Ðûø Ôþ[Ü»ÔÛ-dbd9297e032fc2d8ÁprovideÁ<ãDerror_generic_member_accessÁÜÁDAThiserrorProvideÁ„‹GÕܾF®aserrorÁ
AsDynErrorÁ'aÁ as_dyn_errorÁ Ù  â
Ù
âÙâÙâÙâSealedÁÙÙ Ù "ÙdisplayÁ$$$$$$ AsDisplayÁ*Ù**
as_displayÁ$.Ù...Ú $3Ù33Ú $7Ù77Ú $Ö$<$$ __privateÁAA8 88888.8<8*;ÙùÙÙù‘ÞÙÙù‘Þ¾ÙÙù‘ÞØ·¾ÙÙ¹ Ó ó ˜
* 8Ù*ô$ô$Úõ$innerÁÜ"š™¡/ÜâÚÙ*ú#ú#Ûû#ž
Ü"ßÑås}‡Ù;  ;;É
ùùùùùù ù"ù.
3ô$7ú#<
>ô$?ú#T*;$ ùœ üÜ@Œö §  /Äel$•Ÿüß@Œù ,SZ©üé@Œƒ ù‘Þ <hoºüú@Œ” ù‘Þ¾ AmtØü˜@Œ² ù‘ÞØ·¾ Gszº2üý= ø
 D‹ 2¥ÛûIUÛûI Óž
ø,èn!ÛÄŶÙ È
îûIýÊû'I ½%
ðûIÞ6ü˜Fý›û\I§%ý‡ÙMMæûI½%½%Š¿%ž
Ü"­ØíÍ¿ ÈÈŠÊos_strÁø~K ¸±ËCßM ÝOPË%®¼­ê!.Uõ!.m‚åE Ôž
øGwêpø¦QåKåKBufÁæKž
 ?ÀÔe
Ÿ§š?š?§?bufÁü9ž? ü9ýgì+àýQèAèAéAGlobalÁ c|hÙWÊQ&&RawVecÁ)ž
*_markerÁžZù£×u/ƒ++ RawVecInnerÁ-§ .capÁ/ÙÖ“0ÝÝÓ·ÇÇUniqueÁÉ÷ ¼ÊÒ¼ÉIù”g‹Xƒ¿¿ËÁ÷ §ɪs  »¤ƒuÑ…  ƒE‘å ëÇý¸)$Vý ")Q 
ƒý¶)&V
Û)V
™å nýÛ!%.  žKžKSliceÁŸKž
â”z^J7¼
ÿ!.-Óê Üý¸º+I q
n t ÝB
È ? < ½%
8
:ü¿FýŸ÷?IÅ$ýî¹}Iù$ëµÂ÷Iý޹/ÝE»ºIý…¼3Ç%³¹ý¥¸jÂÎý ë.ÂKUþ¸ýíݵ¼?ƒïý•„о?ƒE‡åýåTICƒ-Ú…ý÷N Zƒ-£U ýÙ[
\ƒ
ý²-Ça Ûƒƒ5–‘ ýõ–¿! ⃃5Õ.a ýÉ{û!
݃E˜˜!
ýê#Ma ؃ 3
݃
ý¸#¬V”lƒýìä.ýŒ*AÕ9Î$AùÞÉ[ÓÐù³Ì4ý³_EL݃u¥'Vý„ŠGLçƒ}Ô'VýÖ®pCôƒPý’!¹QñƒÍ«¯Cý§éÚðýá¸(§%Ž  ÉªÌ­ó¸  Éï  þ έÓêÕÇÆh

ÐÈéè$A$A®ýç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.Áè©üìOL [`std::error::Error`]: https://doc.rust-lang.org/std/error/trait.Error.htmlÁ¼©Š)É©
# 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,ÁT  },Áü¨ ,) #[error("unknown data store error")]Á„Õ
Unknown,Á ```Áô ©Š)
©l…
# DetailsÁ
©ü—
LI - Thiserror deliberately does not appear in your public API. You get theÁüä
OL same thing as if you had written an implementation of `std::error::Error`Áü´ NK by hand, and switching from handwritten impls to thiserror or vice versaÁüƒ  is not a breaking change.Á£ ©ü§ LI - Errors may be enums, structs with named fields, tuple structs, or unitÁ structs.Áƒ
©ü‡
A> - 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 {Áü³PM #[error("invalid rdo_lookahead_frames {0} (expected < {})", i32::MAX)]Áü„  InvalidLookahead(u32),ÁL­ ```Á·©ü»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Á as `.0`.Áë©î:ìý¡;<Æ;ü£+( # fn first_char(s: &String) -> char {ÁüÏ%" # s.chars().next().unwrap()Á # }Á<ÿÆ;ć # #[derive(Debug)]Á¼  # struct Limits {Á´¸ # lo: usize,Á´Ï # hi: usize,Áš@Æ;ìøÕ;´–ú;ü­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 },Áš=©=Ë©üÏKH - 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ÁT too.Á¡©î:ü³'$ # use core::fmt::{self, Display};Á¤Û # use std::io;Áìð¡;Æ;¬– # mod globset {Áü¬.+ # #[derive(thiserror::Error, Debug)]ÁÜÛ # #[error("...")]Áì÷ # pub struct Error;ÁL•š@Æ;ì§Õ;ÄÅ pub enum MyError {ÁüÞ  Io(#[from] io::Error),Áüÿ'$ Glob(#[from] globset::Error),Áš=Æ;ü· " # impl Display for MyError {ÁüÚ JG # fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {Áü¥!  # unimplemented!()ÁlÆ!
# }ÁLÔ!š@LÞ!©=è!©üì!LI - 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í%î:üû%'ÇGì£&¡;<Á&Æ;ìÉ&Õ;Ôç& pub struct MyError {Á´‚' msg: String,Áü™':7 #[source] // optional if field name is `source`ÁüÔ'  source: anyhow::Error,Á<õ'š=<ý'Æ;ü…("õJü¨(J Küó( óKl”)LL¢)š@L¬)©=¶)©üº)NK - The Error trait's `provide()` method is implemented to provide whicheverÁü‰*63 field has a type named `Backtrace`, if any, as aÁüÀ*IF `std::backtrace::Backtrace`. Using `Backtrace` in errors requires aÁüŠ+74 nightly compiler with Rust version 1.73 or newer.ÁÂ+©lÆ+î:üÔ+)& # const IGNORE: &str = stringify! {Áüþ+$! use std::backtrace::Backtrace;Á£,©ì§,Õ;ÔÅ,×Q´à,ùQü÷,:7 backtrace: Backtrace, // automatically detectedÁ<²-š=Tº- # };ÁLÅ-©=Ï-©üÓ-HE - If a field is both a source (named `source`, or has `#[source]` orÁüœ.IF `#[from]` attribute) *and* is marked `#[backtrace]`, then the ErrorÁüæ.OL trait's `provide()` method is forwarded to the source's `provide` so thatÁü¶/KH both layers of the error share the same backtrace. The `#[backtrace]`Áü‚0LI attribute requires a nightly compiler with Rust version 1.73 or newer.ÁÏ0©lÓ0î:üá0)¨Vì‹1Õ;Ä©1åItÂ1 Io {ÁÔÑ1 #[backtrace]Áüì1  source: io::Error,Ád2 },Á<š2š=T¢2€XL­2©=·2©ü»2MJ - For variants that use `#[from]` and also contain a `Backtrace` field, aÁü‰385 backtrace is captured from within the `From` impl.ÁÂ3©lÆ3î:üÔ3)¨Vìþ3Õ;Äœ4åItµ4„\¬Ä4 #[from]ÁüÚ4 ½\üû4# backtrace: Backtrace,ÁdŸ5å\<¬5š=T´5€XL¿5©=É5©üÍ5KH - Errors may use `error(transparent)` to forward the source and DisplayÁü™6GD methods straight through to an underlying error without adding anÁüá6JG additional message. This would be appropriate for enums that need anÁô¬7 "anything else" variant.ÁË7©LÏ7©=ìÙ7¡;<÷7Æ;ìÿ7Õ;Ä8åIt¶8 # /*ÁlÅ8
...ÁtÓ8 # */Áâ8©üæ8 #[error(transparent)]Áü†9XU Other(#[from] anyhow::Error), // source and Display delegate to anyhow::ErrorÁ<ß9š=Lç9©=ñ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Ë;©=ìÕ;¡;<ó;Æ;üû;GD // PublicError is public, but opaque and easy to keep compatible.ÁìÃ<Õ;Üá< #[error(transparent)]Áüý<0- pub struct PublicError(#[from] ErrorRepr);Á®=©IJ= impl PublicError {ÁüË=B? // Accessors for anything we do want to expose publicly.Á<Ž>š=>©üš>FC // Private and free to change across minor version of the crate.Áìá>Õ;´ÿ> enum ErrorRepr {Át?êbl¥?€ct³?•c<Â?š=LÊ?©=Ô?©üØ?OL - See also the [`anyhow`] library for a convenient single error type to useÁÔ¨@ in application code.ÁÃ@©üÇ@30 [`anyhow`]: https://github.com/dtolnay/anyhowÁÿÿ@ A µA8ŽlƒA A7 https://docs.rs/thiserror/1.0.69Áü“A"üü@;$A®AQÈ@AAA\¡D<¥D
UnwindSafeÁTØ·,-ù¼%Œ!üD ÿ7 : A84;t5TNÙ“ÞüDUÑo4^ÛoÛoYük,dnD DÑo DùÙ {
ÑoÙ$|ü›,Ù
 
’Þ§ ¤ù§ § Ù¯§   .0
üÜ+E     ì
Ù§ ü *Ù¹ ¥üß+F  ‡s
 ï
Ùü£1ÙÓ ¨üé+G    ù
Ùü­8Ùó ²üú+H    Š
Ù$‹ü¾EÙ˜