opcua_types/service_types/
data_set_reader_transport_data_type.rs

1// OPCUA for Rust
2// SPDX-License-Identifier: MPL-2.0
3// Copyright (C) 2017-2022 Adam Lock
4//
5// This file was autogenerated from Opc.Ua.Types.bsd by tools/schema/gen_types.js
6//
7// DO NOT EDIT THIS FILE
8#![allow(unused_attributes)]
9use std::io::{Read, Write};
10#[allow(unused_imports)]
11use crate::{
12    encoding::*,
13    basic_types::*,
14    service_types::impls::MessageInfo,
15    node_ids::ObjectId,
16};
17
18#[derive(Debug, Clone, PartialEq)]
19pub struct DataSetReaderTransportDataType {
20}
21
22impl MessageInfo for DataSetReaderTransportDataType {
23    fn object_id(&self) -> ObjectId {
24        ObjectId::DataSetReaderTransportDataType_Encoding_DefaultBinary
25    }
26}
27
28impl BinaryEncoder<DataSetReaderTransportDataType> for DataSetReaderTransportDataType {
29    fn byte_len(&self) -> usize {
30        0
31    }
32
33    #[allow(unused_variables)]
34    fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize> {
35        Ok(0)
36    }
37
38    #[allow(unused_variables)]
39    fn decode<S: Read>(stream: &mut S, decoding_options: &DecodingOptions) -> EncodingResult<Self> {
40        Ok(DataSetReaderTransportDataType {
41        })
42    }
43}