opcua_types/service_types/
frame.rs1#![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 Frame {
20}
21
22impl MessageInfo for Frame {
23 fn object_id(&self) -> ObjectId {
24 ObjectId::Frame_Encoding_DefaultBinary
25 }
26}
27
28impl BinaryEncoder<Frame> for Frame {
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(Frame {
41 })
42 }
43}