pub enum ListenStopReason {
UserRejected,
Blocked,
StreamDisconnected,
StreamEnded,
}Expand description
Reason for stopping a listen session.
Variants§
UserRejected
User explicitly rejected confirmation.
Blocked
Agent policy/hook blocked execution before confirmation.
StreamDisconnected
Consumer disconnected while listen stream was active.
StreamEnded
Listen stream ended unexpectedly before terminal state.
Trait Implementations§
Source§impl Clone for ListenStopReason
impl Clone for ListenStopReason
Source§fn clone(&self) -> ListenStopReason
fn clone(&self) -> ListenStopReason
Returns a duplicate of the value. Read more
1.0.0 · 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 ListenStopReason
impl Debug for ListenStopReason
Source§impl<'de> Deserialize<'de> for ListenStopReason
impl<'de> Deserialize<'de> for ListenStopReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListenStopReason
impl Serialize for ListenStopReason
impl Copy for ListenStopReason
Auto Trait Implementations§
impl Freeze for ListenStopReason
impl RefUnwindSafe for ListenStopReason
impl Send for ListenStopReason
impl Sync for ListenStopReason
impl Unpin for ListenStopReason
impl UnsafeUnpin for ListenStopReason
impl UnwindSafe for ListenStopReason
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