pub trait IntoInner {
type Value;
// Required method
fn into_inner(self) -> Option<Self::Value>;
}Expand description
Turns a signal back into a raw value.
Required Associated Types§
Required Methods§
Sourcefn into_inner(self) -> Option<Self::Value>
fn into_inner(self) -> Option<Self::Value>
Returns the inner value if this is the only reference to the signal.
Otherwise, returns None and drops this reference.
§Panics
Panics if the inner lock is poisoned.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".