pub trait TryMutContainer<T: ?Sized>: FragileTryMutContainer<T> + TryContainer<T> { }Expand description
An abstraction over some container which owns a T and can provide mutable or immutable
references to it, or be consumed to return the inner T (if T is Sized).
§Errors
The into_inner, try_get_ref, and try_get_mut methods may be able to fail, depending
on the container; a container should clearly document the circumstances in which a None or
Err variant may be returned.
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.