FormatError
struct · ferroui-base · v0.5.0
struct FormatError
Error returned when a string is not in the expected format.
Members
new
const fn new(message: &'static str) -> Self
Creates an error with a static message.
from_string
fn from_string(message: String) -> Self
Creates an error with a computed message.
invalid_input
fn invalid_input(input: &str) -> Self
Creates the error reported when a number cannot be parsed from input.
message
fn message(self: &Self) -> &str
Gets the error message.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqDefaultDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.