fn eq(&self, other: &Error) -> bool {
        match (self, other) {
            (Error::InvalidDSMParam, Error::InvalidDSMParam) => true,
            _ => false,
        }
    }
// Implement eq for more Error when needed.
Implement eq for more Error when needed.
Implement eq for more Error when needed .
fn eq(&self, other: &Error) -> bool {
        match (self, other) {
            (Error::InvalidDSMParam, Error::InvalidDSMParam) => true,
            _ => false,
        }
    }
fn eq ( & self , other : & Error ) -> bool { match ( self , other ) { ( Error :: InvalidDSMParam , Error :: InvalidDSMParam ) => true , _ => false , } }
Implement eq for more Error when needed.
Implement eq for more Error when needed .
&self
other
&Error
&self
other
&Error