Lines Matching refs:invalid_value
146 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
164 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
182 Err(Error::invalid_value(Unexpected::Unsigned(v as u64), &self))
294 Err(Error::invalid_value(Unexpected::Other("u128"), &self))
313 Err(Error::invalid_value(Unexpected::Other("i128"), &self))
346 _ => Err(Error::invalid_value(Unexpected::Str(v), &self)), in visit_str()
396 Err(_) => Err(Error::invalid_value(Unexpected::Bytes(v), &self)), in visit_bytes()
406 Err(e) => Err(Error::invalid_value( in visit_byte_buf()
449 Err(_) => Err(Error::invalid_value(Unexpected::Bytes(v), &self)), in visit_bytes()
462 Err(e) => Err(Error::invalid_value( in visit_byte_buf()
509 str::from_utf8(v).map_err(|_| Error::invalid_value(Unexpected::Bytes(v), &self)) in visit_borrowed_bytes()
1366 _ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self),),
1393 … Err(_) => Err(Error::invalid_value(Unexpected::Bytes(value), &self)),
1539 .map_err(|_| Error::invalid_value(Unexpected::Bytes(v), &self)) in visit_borrowed_bytes()
1584 .map_err(|_| Error::invalid_value(Unexpected::Bytes(v), &self)) in visit_bytes()
1593 .map_err(|e| Error::invalid_value(Unexpected::Bytes(&e.into_bytes()), &self)) in visit_byte_buf()
2360 _ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)), in deserialize()
2387 Err(Error::invalid_value(Unexpected::Bytes(value), &self)) in deserialize()
2522 _ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)), in deserialize()
2547 Err(Error::invalid_value(Unexpected::Bytes(value), &self)) in deserialize()