pub enum SessionExit {
NodeFailed {
detail: String,
},
WatchRootGone {
path: PathBuf,
},
ResubscribeFailed {
detail: String,
},
Interrupted,
InputsClosed,
}Expand description
Why the session ended. Every variant is terminal and loud.
Variants§
NodeFailed
The node failed (child exit / connection death): typed report, watcher stopped, nonzero exit — never auto-restart.
WatchRootGone
A watched root disappeared (deleted or moved out): watching cannot continue; the path and recovery are named.
ResubscribeFailed
Watcher re-subscription after a desynchronization failed: watching halts loudly while the node serves last good.
Interrupted
Ctrl-C / SIGTERM: ordered teardown, exit zero.
InputsClosed
Every input sender is gone (teardown).
Trait Implementations§
Source§impl Debug for SessionExit
impl Debug for SessionExit
impl Eq for SessionExit
Source§impl PartialEq for SessionExit
impl PartialEq for SessionExit
impl StructuralPartialEq for SessionExit
Auto Trait Implementations§
impl Freeze for SessionExit
impl RefUnwindSafe for SessionExit
impl Send for SessionExit
impl Sync for SessionExit
impl Unpin for SessionExit
impl UnsafeUnpin for SessionExit
impl UnwindSafe for SessionExit
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<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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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