edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiB978e685Tahinli3 months ago627 commits
| 1 | //! The crate's dependency-free error type. |
| 2 | //! |
| 3 | //! [`Error::Again`] and [`Error::Eof`] follow EAGAIN-style pull semantics: |
| 4 | //! they are not failures. `Again` means "more input is required before output |
| 5 | //! can be produced" (feed more data, then pull again); `Eof` means "the stream |
| 6 | //! is finished and fully drained" (stop pulling). Everything else is a real |
| 7 | //! error. |
| 8 | |
| 9 | /// Crate-wide result alias. |
| 10 | pub type Result<T> = Result; |
| 11 | |
| 12 | /// All the ways AAC decoding/encoding can fail — or, for [`Error::Again`] / |
| 13 | /// [`Error::Eof`], signal normal stream flow control. |
| 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 |