Struct tokkit::InitializationError
[−]
[src]
pub struct InitializationError(pub String);
An error to be returned if the initialization of a component or else fails.
Methods
impl InitializationError
[src]
fn new<T: Into<String>>(message: T) -> InitializationError
[src]
Creates a new InitializationError therby allocating a String.
Trait Implementations
impl Debug for InitializationError
[src]
impl Display for InitializationError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for InitializationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<VarError> for InitializationError
[src]
impl From<ParseFloatError> for InitializationError
[src]
fn from(err: ParseFloatError) -> Self
[src]
Performs the conversion.