Struct pipedconsole::Error
source · pub struct Error {
pub message: String,
pub kind: ErrorKind,
pub code: u32,
}
Expand description
The main error type used by this crate.
Fields§
§message: String
A message wich can be displayed to the user.
kind: ErrorKind
The severity of the error.
code: u32
The windows error code. 0
if the error has nothing todo with a windows-api call.
Trait Implementations§
source§impl Clone for ConsoleError
impl Clone for ConsoleError
source§fn clone(&self) -> ConsoleError
fn clone(&self) -> ConsoleError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConsoleError
impl Debug for ConsoleError
source§impl Display for ConsoleError
impl Display for ConsoleError
source§impl Error for ConsoleError
impl Error for ConsoleError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ConsoleError> for Error
impl From<ConsoleError> for Error
source§fn from(err: ConsoleError) -> Error
fn from(err: ConsoleError) -> Error
Converts to this type from the input type.