Struct undo::Error [−][src]
pub struct Error<R> { /* fields omitted */ }An error which holds the command that caused it.
Methods
impl<R> Error<R>[src]
impl<R> Error<R>pub fn command(
&self
) -> &impl Command<R>[src]
pub fn command(
&self
) -> &impl Command<R>Returns a reference to the command that caused the error.
pub fn into_command(
self
) -> impl Command<R>[src]
pub fn into_command(
self
) -> impl Command<R>Returns the command that caused the error.
Trait Implementations
impl<R> Debug for Error<R>[src]
impl<R> Debug for Error<R>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<R> Display for Error<R>[src]
impl<R> Display for Error<R>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<R> StdError for Error<R>[src]
impl<R> StdError for Error<R>