pub struct Live { /* private fields */ }Expand description
The live rail.
Implementations§
Trait Implementations§
Source§impl Rail for Live
impl Rail for Live
Source§fn topology(&self) -> Result<Value, RailError>
fn topology(&self) -> Result<Value, RailError>
The current topology record, read fresh: one subscription, the first
whole record, closed before returning. Read more
Source§fn request(
&self,
subject: &str,
input: &Value,
reply: bool,
) -> Result<Option<Value>, RailError>
fn request( &self, subject: &str, input: &Value, reply: bool, ) -> Result<Option<Value>, RailError>
One request on
subject; with reply the correlated reply’s JSON,
without it None once sent. Read moreSource§fn pass_for(&self, audience: &str) -> Result<String, RailError>
fn pass_for(&self, audience: &str) -> Result<String, RailError>
The calling seat’s own pass for
audience, minted for a call that
names pass_for; never the pass the rail’s connections present. Read moreSource§fn tap(&self, channel: &str) -> Result<TapSubscription, RailError>
fn tap(&self, channel: &str) -> Result<TapSubscription, RailError>
Opens a long-lived subscription on a tap channel using the seat pass. Read more
Source§fn server_address(&self) -> &str
fn server_address(&self) -> &str
The configured server address used to identify notification records.
Source§fn request_bytes(&self) -> usize
fn request_bytes(&self) -> usize
The largest request body the rail sends.
Source§fn flow_steps(&self) -> usize
fn flow_steps(&self) -> usize
The most steps one flow may carry.
Auto Trait Implementations§
impl !Freeze for Live
impl !RefUnwindSafe for Live
impl !UnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnsafeUnpin for Live
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.