pub struct Status {
pub serial: String,
pub agent: String,
pub protocol: u16,
pub pid: u32,
pub socket: String,
pub reused: bool,
pub paths: Paths,
pub inputs: (u64, u64),
pub frames_received: u64,
pub controller_error: Option<String>,
pub frame_error: Option<String>,
pub disconnected: Option<String>,
}Expand description
What a session reports about its target.
Fields§
§serial: String§agent: StringThe agent name and version its hello carried.
protocol: u16§pid: u32§socket: String§reused: boolWhether the agent was reused rather than launched.
paths: PathsThe paths as they are now: input moves to the agent when the controller fails during the session.
inputs: (u64, u64)Inputs sent through the controller and through the agent.
frames_received: u64§controller_error: Option<String>Why the controller stopped taking input, once it failed.
frame_error: Option<String>The last failure of the frame stream.
disconnected: Option<String>Why the connection to the agent closed, once it has.
Implementations§
Trait Implementations§
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request