pub trait FromWireRef<W>: FromWire<W> {
// Required method
fn from_wire_ref(wire: &W) -> Self;
}
Expand description
A type which is convertible from a reference to a wire type.
Required Methods§
Sourcefn from_wire_ref(wire: &W) -> Self
fn from_wire_ref(wire: &W) -> Self
Converts the given wire
reference to this type.
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.