pub struct AutoApproveChannel { /* private fields */ }Expand description
A no-op ReviewChannel that auto-approves all interactions. Useful for non-interactive/batch mode and testing.
Implementations§
Trait Implementations§
Source§impl Default for AutoApproveChannel
impl Default for AutoApproveChannel
Source§impl ReviewChannel for AutoApproveChannel
impl ReviewChannel for AutoApproveChannel
Source§fn request_interaction(
&self,
request: &InteractionRequest,
) -> Result<InteractionResponse, ReviewChannelError>
fn request_interaction( &self, request: &InteractionRequest, ) -> Result<InteractionResponse, ReviewChannelError>
Send an interaction request to the human and await their response. Read more
Source§fn notify(&self, _notification: &Notification) -> Result<(), ReviewChannelError>
fn notify(&self, _notification: &Notification) -> Result<(), ReviewChannelError>
Non-blocking notification to the human. Read more
Source§fn capabilities(&self) -> ChannelCapabilities
fn capabilities(&self) -> ChannelCapabilities
What this channel supports (async responses, rich media, threads, etc.).
Source§fn channel_id(&self) -> &str
fn channel_id(&self) -> &str
Channel identity string for audit trail (e.g., “terminal:tty0”, “slack:C04ABC”).
Auto Trait Implementations§
impl Freeze for AutoApproveChannel
impl RefUnwindSafe for AutoApproveChannel
impl Send for AutoApproveChannel
impl Sync for AutoApproveChannel
impl Unpin for AutoApproveChannel
impl UnsafeUnpin for AutoApproveChannel
impl UnwindSafe for AutoApproveChannel
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