pub trait FromWireOptionRef<W>: FromWireOption<W> {
// Required method
fn from_wire_option_ref(wire: &W) -> Option<Self>;
}
Expand description
An optional type which is convertible from a reference to a wire type.
Required Methods§
Sourcefn from_wire_option_ref(wire: &W) -> Option<Self>
fn from_wire_option_ref(wire: &W) -> Option<Self>
Converts the given wire
reference to an option of 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.