Trait puffin::agent::ProtocolDescriptorConfig
source · pub trait ProtocolDescriptorConfig:
Default
+ Debug
+ Clone
+ Serialize
+ Hash
+ for<'a> Deserialize<'a> {
// Required method
fn is_reusable_with(&self, other: &Self) -> bool;
}
Expand description
Contains the protocol specific configuration of an agent
Required Methods§
sourcefn is_reusable_with(&self, other: &Self) -> bool
fn is_reusable_with(&self, other: &Self) -> bool
Indicates wheter a agent is reusable, ie. it’s configuration is compatible with the new agent to spawn
Object Safety§
This trait is not object safe.