Struct soft_ascii_string::error::FromSourceError[][src]

pub struct FromSourceError<S: Debug> { /* fields omitted */ }

Error returned if creating a SoftAsciiStr/SoftAsciiString failed

Methods

impl<S> FromSourceError<S> where
    S: Debug
[src]

creates a new FromSourceError

returns a reference to the source

the source is the input which was meant to be converted into a SoftAsciiStr/String

returns the source

the source is the input which was meant to be converted into a SoftAsciiStr/String

Trait Implementations

impl<S: Debug + Debug> Debug for FromSourceError<S>
[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq + Debug> PartialEq for FromSourceError<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S: Eq + Debug> Eq for FromSourceError<S>
[src]

impl<S: Clone + Debug> Clone for FromSourceError<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Hash + Debug> Hash for FromSourceError<S>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<S> Error for FromSourceError<S> where
    S: Debug
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl<S> Display for FromSourceError<S> where
    S: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<S> Send for FromSourceError<S> where
    S: Send

impl<S> Sync for FromSourceError<S> where
    S: Sync