pub struct EntityInspectionProcessor { /* private fields */ }Expand description
Entity inspection processor with comprehensive capabilities
Implementations§
Source§impl EntityInspectionProcessor
impl EntityInspectionProcessor
Sourcepub fn new(inspector: Arc<EntityInspector>) -> Self
pub fn new(inspector: Arc<EntityInspector>) -> Self
Create new entity inspection processor
Trait Implementations§
Source§impl DebugCommandProcessor for EntityInspectionProcessor
impl DebugCommandProcessor for EntityInspectionProcessor
Source§fn process<'life0, 'async_trait>(
&'life0 self,
command: DebugCommand,
) -> Pin<Box<dyn Future<Output = Result<DebugResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 self,
command: DebugCommand,
) -> Pin<Box<dyn Future<Output = Result<DebugResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process a debug command and return a response
Source§fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 DebugCommand,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
command: &'life1 DebugCommand,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Validate if the command can be processed
Source§fn estimate_processing_time(&self, _command: &DebugCommand) -> Duration
fn estimate_processing_time(&self, _command: &DebugCommand) -> Duration
Get the estimated processing time for a command
Source§fn supports_command(&self, command: &DebugCommand) -> bool
fn supports_command(&self, command: &DebugCommand) -> bool
Check if the processor supports a specific command type
Auto Trait Implementations§
impl Freeze for EntityInspectionProcessor
impl !RefUnwindSafe for EntityInspectionProcessor
impl Send for EntityInspectionProcessor
impl Sync for EntityInspectionProcessor
impl Unpin for EntityInspectionProcessor
impl UnsafeUnpin for EntityInspectionProcessor
impl !UnwindSafe for EntityInspectionProcessor
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more