pub struct SeekCheckContext { /* private fields */ }Expand description
Shared result accumulator carried by ControlMsg::CheckSeek.
Implementations§
Source§impl SeekCheckContext
impl SeekCheckContext
Sourcepub fn reject(
&self,
element_type: ElementType,
name: Arc<str>,
reason: SeekRejectReason,
)
pub fn reject( &self, element_type: ElementType, name: Arc<str>, reason: SeekRejectReason, )
Records an element refusal. Repeated visits to the same graph path do not make the public result noisy with identical entries.
Sourcepub fn rejections(&self) -> Vec<SeekRejection>
pub fn rejections(&self) -> Vec<SeekRejection>
Returns a snapshot of every distinct rejection collected so far.
Trait Implementations§
Source§impl Debug for SeekCheckContext
impl Debug for SeekCheckContext
Source§impl Default for SeekCheckContext
impl Default for SeekCheckContext
Source§fn default() -> SeekCheckContext
fn default() -> SeekCheckContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SeekCheckContext
impl RefUnwindSafe for SeekCheckContext
impl Send for SeekCheckContext
impl Sync for SeekCheckContext
impl Unpin for SeekCheckContext
impl UnsafeUnpin for SeekCheckContext
impl UnwindSafe for SeekCheckContext
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