pub struct FrameEnvelope {
pub deadline: Option<Duration>,
pub consistency: Consistency,
pub trace: bool,
pub required_capabilities: Vec<CapabilityName>,
pub reply_codec_hint: Option<Symbol>,
pub role: Option<Symbol>,
pub hop: u32,
pub trigger_source: Option<Symbol>,
}Expand description
Out-of-band metadata attached to a ServerFrame alongside its payload.
Fields§
§deadline: Option<Duration>Optional deadline for handling the frame.
consistency: ConsistencyConsistency policy requested for the call.
trace: boolWhether an execution trace is requested.
required_capabilities: Vec<CapabilityName>Capabilities the call requires.
reply_codec_hint: Option<Symbol>Codec the sender prefers for the reply, if any.
role: Option<Symbol>Routing role assigned to the frame, if any.
hop: u32Hop count for multi-hop routing.
trigger_source: Option<Symbol>Symbol naming the trigger source, if the frame was triggered.
Trait Implementations§
Source§impl Clone for FrameEnvelope
impl Clone for FrameEnvelope
Source§fn clone(&self) -> FrameEnvelope
fn clone(&self) -> FrameEnvelope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameEnvelope
impl Debug for FrameEnvelope
Source§impl Default for FrameEnvelope
impl Default for FrameEnvelope
Source§fn default() -> FrameEnvelope
fn default() -> FrameEnvelope
Returns the “default value” for a type. Read more
impl Eq for FrameEnvelope
Source§impl PartialEq for FrameEnvelope
impl PartialEq for FrameEnvelope
Source§fn eq(&self, other: &FrameEnvelope) -> bool
fn eq(&self, other: &FrameEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameEnvelope
Auto Trait Implementations§
impl Freeze for FrameEnvelope
impl RefUnwindSafe for FrameEnvelope
impl Send for FrameEnvelope
impl Sync for FrameEnvelope
impl Unpin for FrameEnvelope
impl UnsafeUnpin for FrameEnvelope
impl UnwindSafe for FrameEnvelope
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