pub trait LaneIdType:
Clone
+ Copy
+ Codec
+ EncodeLike
+ Debug
+ Default
+ PartialEq
+ Eq
+ Ord
+ TypeInfo
+ MaxEncodedLen
+ Serialize
+ DeserializeOwned {
// Required method
fn try_new<E: Ord + Encode>(endpoint1: E, endpoint2: E) -> Result<Self, ()>;
}
Expand description
Trait representing a generic LaneId
type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.