pub enum Debt64 {
Standard,
IMAP,
MIME,
URL,
FreenetURL,
}
Expand description
Not all variants are supported. Please follow the wiki article for details.
Character #62 | Character #63 | Padding | Fixed line length | Max. line length | Line separators | Characters outside alphabet |
+ | / | = | No | None | None | Forbidden |
Character #62 | Character #63 | Padding | Fixed line length | Max. line length | Line separators | Characters outside alphabet |
+ | , | None | No | None | None | Forbidden |
Character #62 | Character #63 | Padding | Fixed line length | Max. line length | Line separators | Characters outside alphabet |
+ | / | = | No | 76 | \r\n | Accepted (discarded) |
- Encoding produces above line separators.
- Decoding accepts above line separators and also just a single line feed
\n
.
- Decoding does not allow consecutive line separators. For instance
\r\n\r\n
are not allowed.
Character #62 | Character #63 | Padding | Fixed line length | Max. line length | Line separators | Characters outside alphabet |
- | _ | = (optional) | No | Optional | None | Forbidden |
- This implementation has no limit on max line length.
- Encoding doesn’t produce pad characters.
Character #62 | Character #63 | Padding | Fixed line length | Max. line length | Line separators | Characters outside alphabet |
~ | - | = | No | Optional | None | Forbidden |
- This implementation has no limit on max line length.
Freenet: https://en.wikipedia.org/wiki/Freenet
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.