pub enum CorruptPacketKind {
TooShort,
NotAuthentic,
IncorrectlyEncrypted,
}
Reasons why the packet data has been corrupted to the point where it is unrecoverable.
The packet has been corrupted because it is too short to contain both
data and verifying information.
The packet has been corrupted because while the data was originally validated
with the expected master key, it has been altered in some way since then.
The packet has been corrupted because its data is identical to what was
originally created, but the sender's encryption is flawed.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static