pub enum Message {
Hello(HelloMessage),
Acknowledge(AcknowledgeMessage),
Error(ErrorMessage),
Chunk(MessageChunk),
ReverseHello(ReverseHelloMessage),
}Expand description
Message type sent over OPC-UA streams.
Variants§
Hello(HelloMessage)
Hello message, the first part of a connection negotiation.
Acknowledge(AcknowledgeMessage)
Acknowledge message, acceptance of negotiation.
Error(ErrorMessage)
Error message, final fatal message describing reason for why the channel will be closed.
Chunk(MessageChunk)
Part of a general OPC-UA message.
ReverseHello(ReverseHelloMessage)
Reverse Hello message, sent by the server to the client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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