Trait IntoInner
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ยง
type Value
type Value
The type of the value contained in the signal.
Required Methodsยง
fn 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.