usecrate::ring::{create::Cause,layout::Layout};/// Setup rejection or retained ownership of incomplete mapping cleanup.
#[derive(Debug)]pubenumError<S, M, C> {
Refused(Cause<S, M>),
Cleanup(C),}impl<S, M, C>From<Layout>forError<S, M, C>{fnfrom(cause: Layout)->Self{Self::Refused(Cause::Layout(cause))}}