pub struct StreamOpenInfo {
pub stream_id: [u8; 16],
pub procedure: String,
pub realm: [u8; 32],
pub mode: StreamMode,
pub args: Value,
pub deadline_ms: i128,
pub caller: [u8; 32],
}Expand description
The fields a provider needs from an inbound STREAM_OPEN — the
first frame on a freshly-accepted dedicated stream (§13.2). Doesn’t
carry source_route/retry_budget: nothing in the provider role
built so far acts on either.
Fields§
§stream_id: [u8; 16]§procedure: String§realm: [u8; 32]§mode: StreamMode§args: Value§deadline_ms: i128§caller: [u8; 32]Trait Implementations§
Source§impl Clone for StreamOpenInfo
impl Clone for StreamOpenInfo
Source§fn clone(&self) -> StreamOpenInfo
fn clone(&self) -> StreamOpenInfo
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 moreAuto Trait Implementations§
impl Freeze for StreamOpenInfo
impl RefUnwindSafe for StreamOpenInfo
impl Send for StreamOpenInfo
impl Sync for StreamOpenInfo
impl Unpin for StreamOpenInfo
impl UnsafeUnpin for StreamOpenInfo
impl UnwindSafe for StreamOpenInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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