pub trait ErasedGuard<T: Transport>:
Send
+ Sync
+ 'static {
// Required methods
fn can_activate<'a>(
&'a self,
cx: &'a T::Cx,
) -> BoxFuture<'a, Result<bool, BoxError>>;
fn name(&self) -> &'static str;
}Expand description
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".