Struct opcua_server::subscriptions::PublishRequestEntry
source · [−]pub struct PublishRequestEntry {
pub request_id: u32,
pub request: PublishRequest,
pub results: Option<Vec<StatusCode>>,
}
Expand description
The publish request entry preserves the request_id which is part of the chunk layer but clients are fickle about receiving responses from the same as the request. Normally this is easy because request and response are synchronous, but publish requests are async, so we preserve the request_id so that later we can send out responses that have the proper req id
Fields
request_id: u32
request: PublishRequest
results: Option<Vec<StatusCode>>
Trait Implementations
sourceimpl Clone for PublishRequestEntry
impl Clone for PublishRequestEntry
sourcefn clone(&self) -> PublishRequestEntry
fn clone(&self) -> PublishRequestEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublishRequestEntry
impl Send for PublishRequestEntry
impl Sync for PublishRequestEntry
impl Unpin for PublishRequestEntry
impl UnwindSafe for PublishRequestEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more