pub enum BerError {
InvalidTag,
InvalidLength,
InvalidValue,
}Expand description
An error while encoding or decoding a CosemDataType in BER.
Variants§
InvalidTag
The tag octet was not a recognized COSEM data type.
InvalidLength
The value ended before all declared octets were present.
InvalidValue
A value did not conform to its type.
Trait Implementations§
Source§impl From<BerError> for ServiceError
impl From<BerError> for ServiceError
impl StructuralPartialEq for BerError
Auto Trait Implementations§
impl Freeze for BerError
impl RefUnwindSafe for BerError
impl Send for BerError
impl Sync for BerError
impl Unpin for BerError
impl UnsafeUnpin for BerError
impl UnwindSafe for BerError
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