[−][src]Struct opcua_server::prelude::ResponseHeader
The ResponseHeader contains information common to every response from server to client.
Fields
timestamp: DateTimerequest_handle: u32service_result: StatusCodeservice_diagnostics: DiagnosticInfostring_table: Option<Vec<UAString>>additional_header: ExtensionObjectImplementations
impl ResponseHeader[src]
pub fn new_good(request_header: &RequestHeader) -> ResponseHeader[src]
pub fn new_service_result(
request_header: &RequestHeader,
service_result: StatusCode
) -> ResponseHeader[src]
request_header: &RequestHeader,
service_result: StatusCode
) -> ResponseHeader
pub fn new_timestamped_service_result(
timestamp: DateTime,
request_header: &RequestHeader,
service_result: StatusCode
) -> ResponseHeader[src]
timestamp: DateTime,
request_header: &RequestHeader,
service_result: StatusCode
) -> ResponseHeader
pub fn null() -> ResponseHeader[src]
For testing, nothing else
Trait Implementations
impl BinaryEncoder<ResponseHeader> for ResponseHeader[src]
fn byte_len(&self) -> usize[src]
fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode> where
S: Write, [src]
S: Write,
fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<ResponseHeader, StatusCode> where
S: Read, [src]
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<ResponseHeader, StatusCode> where
S: Read,
fn encode_to_vec(&self) -> Vec<u8>[src]
impl Clone for ResponseHeader[src]
fn clone(&self) -> ResponseHeader[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ResponseHeader[src]
impl PartialEq<ResponseHeader> for ResponseHeader[src]
fn eq(&self, other: &ResponseHeader) -> bool[src]
fn ne(&self, other: &ResponseHeader) -> bool[src]
impl StructuralPartialEq for ResponseHeader[src]
Auto Trait Implementations
impl RefUnwindSafe for ResponseHeader
impl Send for ResponseHeader
impl Sync for ResponseHeader
impl Unpin for ResponseHeader
impl UnwindSafe for ResponseHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,