pub struct SignedDataError { /* private fields */ }Expand description
A signed meter value that could not be read: a 1.6 SignedData string that is not the
JSON document the application note describes, or a signedMeterData field with no record
in it.
Implementations§
Source§impl SignedDataError
impl SignedDataError
Sourcepub fn reason(&self) -> &str
pub fn reason(&self) -> &str
What was wrong, for a log line an operator can act on.
A station that says it is sending signed data and is not looks, from the outside, exactly like a station sending none — and the difference only surfaces when a month of sessions turns out to be unbillable. This is the string that stops that happening.
Trait Implementations§
Source§impl Clone for SignedDataError
impl Clone for SignedDataError
Source§impl Debug for SignedDataError
impl Debug for SignedDataError
Source§impl Display for SignedDataError
impl Display for SignedDataError
impl Eq for SignedDataError
Source§impl Error for SignedDataError
Available on crate feature std only.
impl Error for SignedDataError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for SignedDataError
impl PartialEq for SignedDataError
impl StructuralPartialEq for SignedDataError
Auto Trait Implementations§
impl Forget for SignedDataError
impl Freeze for SignedDataError
impl Move for SignedDataError
impl RefUnwindSafe for SignedDataError
impl Send for SignedDataError
impl Sync for SignedDataError
impl Unpin for SignedDataError
impl UnsafeUnpin for SignedDataError
impl UnwindSafe for SignedDataError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more