Enum tsp_solver::TspErrorKind
source · pub enum TspErrorKind {
IoError {
file: String,
message: String,
},
EncodeError {
message: String,
},
DecodeError {
message: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for TspErrorKind
impl Clone for TspErrorKind
source§fn clone(&self) -> TspErrorKind
fn clone(&self) -> TspErrorKind
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 TspErrorKind
impl Debug for TspErrorKind
source§impl Display for TspErrorKind
impl Display for TspErrorKind
source§impl From<Error> for TspErrorKind
impl From<Error> for TspErrorKind
source§impl From<Error> for TspErrorKind
impl From<Error> for TspErrorKind
source§impl From<TspErrorKind> for TspError
impl From<TspErrorKind> for TspError
source§fn from(value: TspErrorKind) -> Self
fn from(value: TspErrorKind) -> Self
Converts to this type from the input type.