pub enum GetDataResult {
Data(CosemDataType),
AccessResult(u8),
}Expand description
The result carried by a GET-RESPONSE-NORMAL: either the attribute value or a data-access-result code.
Variants§
Data(CosemDataType)
The attribute value was read successfully.
AccessResult(u8)
The read failed with this data-access-result code.
Trait Implementations§
Source§impl Clone for GetDataResult
impl Clone for GetDataResult
Source§fn clone(&self) -> GetDataResult
fn clone(&self) -> GetDataResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetDataResult
impl Debug for GetDataResult
Source§impl PartialEq for GetDataResult
impl PartialEq for GetDataResult
impl StructuralPartialEq for GetDataResult
Auto Trait Implementations§
impl Freeze for GetDataResult
impl RefUnwindSafe for GetDataResult
impl Send for GetDataResult
impl Sync for GetDataResult
impl Unpin for GetDataResult
impl UnsafeUnpin for GetDataResult
impl UnwindSafe for GetDataResult
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