Files
boc/aamos-ledger-rust/target/release/deps/libfutures_sink-bd20c0c2067748b7.rlib
T

98 lines
20 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 8 `
// 74 `
futures_sink-bd20c0c2067748b7.futures_sink.b31043b656589e36-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 19592 `
ELF·K@@GNUÀrust
¾H#rustc 1.96.0 (ac68faa20 2026-05-25)ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁ¤»¤Œ¡Àî»Àif_allocÁDª4»¤Œ’4íSinkÁErrorÁ
poll_readyÁ
start_sendÁ
poll_flushÁ
poll_closeÁ¤Š§¸É¡Š§¸É






























 8¤„¾„¾PinÁ†¾ ˜X$]È=„kt•¡
„¾  ¬½*,Ì*%¦ý¦6 YY PinHelperÁY šY@ì!Ø3"•»  Æ%õY€ƒ\Æ*}¥ž „¾ü½*$
ÆÍ×Þ*tÓ* à* æ*ç*üÔ)“ýÿ£×§Y!ýï U¤YýÏ¥ýÉY6€ú!©¡ý´áËòXxýß[öXÝÜâœØžØŸØÈ Øˆ¡Ø¢Ø´‰‰Nµý¤ÃÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ÆÍ
ì•*„¾„¾å†¾ ˜X$]È=„kt•Dâ) ÌÌkÎwakerÁ¸Ï local_wakerÁ¸ÐextÁ¸Ñ_markerÁ¸Ò_marker2Á¸f'EwÚ]¾åü)„¾„¾å†¾ ˜X$]È=„kt•¬´´áÑ í
­¦ÿcxÁxõÚ ¬Æ+,Õ+ÂÑá#:\Ï+K „¾üÆ+&W
ÆÍ$ç+„Ü+ ë+ ñ+ò+üí*…Y§YÒS¤YOJú!FCòX>öX:Š
¼¤+í
Dû*Í$•+½ KKSáÑŽ
§<÷@ÉÎ$Íñ ¬á,,ð,ÂÑá#:\ê,K „¾üá,$q
ÆÍ‚-t÷, „- Š-‹-üø+“§YÒÙ¤Yëõú! òX(öX:Å ì¹,í
D†,§  ,½ KKSáÑŽ
M<« @Éô$ ¬ú-,‰.ÂÑá#:\ƒ.K „¾üú-$q
ÆÍ.t. . £.¤.ü‘-“§YÒÙ¤Yëõú! òX(öX:Å ìÒ-í
DŸ-§ ¹-½ KKSáÑŽ
î<« @É$¼¥0$¥0 ÙD´0e¦³
m¥³q
÷!9# Ê0Ñ0
±³K „¾ ê!Œü¥0&q
ÎÌÈ0t½0üÀ/‘ýÞñd‹YÙLª0ýß±ÜúX(öXÌý³&œØžØŸØÈ Øˆ¡Ø¢Ø´‰‰Nµý¤ÃÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
Ø
Î
ìý/„¾„¾å†¾ ˜X$]È=„kt•Í$Î/§ ä/„¾„¾å†¾ ˜X$]È=„kt•ÌZÌ  IÍmh« l®õðˆd¼¬1q$¬1ÍD»1ÂÉÀqˆðÜ Ó1Ú1ü×0ƒ Ù1îK „¾Ì«$Ï1qü¬1(q
Î!J„Ä1²‹YÙL±1ÿúX9(öXÌú ·¼Š1š$å0$û0ÝÈÌ#žIͨB÷FYüé\ˆi¼Å2$Å2ÍDÔ2´»²qˆâÍ ê2ñ2«K „¾ÌvüÅ2&q
γè2tÝ2üà1‘ž‹YÙLÊ2šúXâ(öXÌòì2š$î1§ „2Ý2̯žÕÍB4« 8œ“"݈î¼Ü3$Ü3ÍDë39@7qˆgR 4ˆ40K „¾ÌvüÜ3&q
γÿ3tô3ü÷2‘#‹YÙLá3úXâ(öXÌòì´3š$…3§ ›3Ý2Ì4žZÍB4« 8œ˜%݈s  íDerefMutÁDƒö!圄¾k<²Ì·œØü¤G´ Asynchronous sinksÁúüGD This crate contains the `Sink` trait which allows values to be sentÁœc asynchronously.Áü·6ü÷6|”í(&!ö!å „¾kÌ·œØƒœøut‘i]`OR¤ÄüÃLI A `Sink` is a value into which other values can be sent, asynchronously.Áúü”85 Basic examples of sinks include the sending side of:ÁÍú - ChannelsÁ
- SocketsÁ - PipesÁúúüþKH In addition to such "primitive" sinks, it's typical to layer additionalÁüÊA> functionality, such as buffering, on top of an existing sink.ÁŒúüNK Sending to a sink is "asynchronous" in the sense that the value may not beÁüßMJ sent in its entirety immediately. Instead, values are sent in a two-phaseÁü­MJ way: first by initiating a send, and then by polling for completion. ThisÁüûOL two-phase setup is analogous to buffered writing in synchronous code, whereÁüË IF writes often succeed immediately, but internally are buffered and areÁü•
*' *actually* written only upon flushing.ÁÀ
úüÄ
PM In addition, the `Sink` may be *full*, in which case it is not even possibleÁü• ! to start the sending process.Á· úü» LI As with `Future` and `Stream`, the `Sink` trait is built from a few coreÁüˆ DA required methods, and a host of default methods for working in aÁüÍ FC higher-level way. The `Sink::send_all` combinator is of particularÁü”
KH importance: you can use it to send an entire stream to a sink, which isÁüà
41 the simplest way to ultimately consume a stream.Á.ü•.sinks do nothing unless polledÁ  ÎìüÄ«Íì³6(³6-

Íì»6
û6 
WYüß@= The type of value produced by the sink when an error occurs.Á,©ü„[üµ63 Attempts to prepare the `Sink` to receive a value.ÁðúüøHE This method must be called and return `Poll::Ready(Ok(()))` prior toÁôÅ each call to `start_send`.ÁèúüðJG This method returns `Poll::Ready` once the underlying sink is ready toÁü¿JG receive data. If this method returns `Poll::Pending`, the current taskÁüŽSP is registered to be notified (via `cx.waker().wake_by_ref()`) when `poll_ready`ÁÜæ should be called again.ÁúüŽA> In most cases, if the sink encounters an error, the sink willÁüÔ+( permanently be unable to receive items.ÁT‡ !„¾„¾å†¾ ˜X$]È=„kt• »6  ÌÌkξ
¸ÏÑ
¸Ðê
¸Ñû
¸Ò ¸f'EwÚ]¾å!œØžØŸØÈ Øˆ¡Ø¢Ø´‰‰Nµý¤ÃÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
Ø
ƒ7 œ
»6$’« ¨ü¾Küå52 Begin the process of sending a value to the sink.ÁüŸGD Each call to this function must be preceded by a successful call toÁüë63 `poll_ready` which returned `Poll::Ready(Ok(()))`.Á¦úü®JG As the name suggests, this method only *begins* the process of sendingÁüýKH the item. If the sink employs buffering, the item isn't fully processedÁüÍLI until the buffer is fully flushed. Since sinks are designed to work withÁüžHE asynchronous I/O, the process of actually writing out the data to anÁüëB? underlying object takes place asynchronously. **You *must* useÁü²FC `poll_flush` or `poll_close` in order to guarantee completion of aÁ send**.Áúü•IF Implementations of `poll_ready` and `start_send` will usually involveÁüãFC flushing behind the scenes in order to make room for new messages.Áü®KH It is only necessary to call `poll_flush` if you need to guarantee thatÁüþ=: *all* of the items placed into the `Sink` have been sent.ÁÀúüÈA«;üŽ+ö;TÁ"„¾„¾å†¾ ˜X$]È=„kt• "»6Â? Ö
»6÷üë"[ü.+ Flush any remaining output from this sink.ÁÂúüÊHE Returns `Poll::Ready(Ok(()))` when no buffered items remain. If thisÁü—IF value is returned then it is guaranteed that all previous values sentÁüå'$ via `start_send` have been flushed.Á úü™ FC Returns `Poll::Pending` if there is more work left to do, in whichÁüä WT case the current task is scheduled (via `cx.waker().wake_by_ref()`) to wake up whenÁüÀ!(% `poll_flush` should be called again.Áí!úüõ!A«;ü»"+ö;Tî"#$%„¾„¾å†¾ ˜X$]È=„kt• #»6 $ÌÌkξ
¸ÏÑ
¸Ðê
¸Ñû
¸Ò ¸f'EwÚ]¾å%ý> ƒ#
»6$ù"« #ü’([üÌ#A> Flush any remaining output and close this sink, if necessary.Á$úüš$LI Returns `Poll::Ready(Ok(()))` when no buffered items remain and the sinkÁüë$! has been successfully closed.Á%úü™%FÖKüä%W¦LüÀ&(% `poll_close` should be called again.Áí&úüõ&JG If this function encounters an error, the sink should be considered toÁüÄ'IF have failed permanently, and no more `Sink` methods should be called.ÁT•(&'(„¾„¾å†¾ ˜X$]È=„kt• &»6 'ÌÌkξ