pub trait DefaultPathInput<T: PathBuilder> {
// Required method
fn get_default<'a>() -> T::Input<'a>;
}Expand description
Allows us to pick a version for sending simple ruma requests
In the SerializingRumaRequestWrapper we don’t actually care about
endpoint versioning, since the request is only serialized and deserialized
locally. Therefore, this just always picks V1_16.
NOTE: A second implementation is also in
crates/libs/arminius-lib-testing/src/utils::ruma.rs, but due to
dependency resolution problems, they cannot depend on one another.
Required Methods§
Sourcefn get_default<'a>() -> T::Input<'a>
fn get_default<'a>() -> T::Input<'a>
Get a default input to the path builder
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".