Skip to main content

is_leaveable

Function is_leaveable 

Source
fn is_leaveable(state: &MembershipState) -> bool
Expand description

Membership states permitted to transition to Leave via a self-leave PDU. ruma’s MembershipState is #[non_exhaustive]; future variants are conservatively treated as non-leaveable.