pub struct SessionRpcContentExclusion<'a> { /* private fields */ }Expand description
session.contentExclusion.* RPCs.
Implementations§
Source§impl<'a> SessionRpcContentExclusion<'a>
impl<'a> SessionRpcContentExclusion<'a>
Sourcepub async fn check_paths(
&self,
params: ContentExclusionCheckPathsRequest,
) -> Result<ContentExclusionCheckPathsResult, Error>
pub async fn check_paths( &self, params: ContentExclusionCheckPathsRequest, ) -> Result<ContentExclusionCheckPathsResult, Error>
Checks local file system absolute paths within the session working directory against its content-exclusion policy. Results preserve input order. Unsupported paths/filesystems and unavailable policy evaluation return available false, and callers must treat every requested path as excluded.
Wire method: session.contentExclusion.checkPaths.
§Parameters
params- Local file system absolute paths within the session working directory to check against its content-exclusion policy.
§Returns
Batch content-exclusion result. Callers must fail closed when policy evaluation is unavailable.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcContentExclusion<'a>
impl<'a> Clone for SessionRpcContentExclusion<'a>
Source§fn clone(&self) -> SessionRpcContentExclusion<'a>
fn clone(&self) -> SessionRpcContentExclusion<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for SessionRpcContentExclusion<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SessionRpcContentExclusion<'a>
impl<'a> !UnwindSafe for SessionRpcContentExclusion<'a>
impl<'a> Freeze for SessionRpcContentExclusion<'a>
impl<'a> Send for SessionRpcContentExclusion<'a>
impl<'a> Sync for SessionRpcContentExclusion<'a>
impl<'a> Unpin for SessionRpcContentExclusion<'a>
impl<'a> UnsafeUnpin for SessionRpcContentExclusion<'a>
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