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.
Required Methods§
Sourcefn from_wire_ref(wire: &W) -> Self
fn from_wire_ref(wire: &W) -> Self
Converts the given reference to this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".