Default Case for Unions now contains the value of the discriminant
This allows code like
match my_rpc_call? {
int_result::Case0 { data } => Ok(data),
int_result::CaseDefault(val) => Err(MyError::from_code(val)),
}
Aufgrund einer Wartung am 14.05 von 8:00 bis 09:00 Uhr wird das System kurzfristig nicht zur Verfügung stehen. -- Due to maintenance on May the 14th from 8:00 am to 09:00 am the system will temporarily not be available.
This allows code like
match my_rpc_call? {
int_result::Case0 { data } => Ok(data),
int_result::CaseDefault(val) => Err(MyError::from_code(val)),
}