pub enum GroupInteractionPolicy {
Ignore,
Accept,
AcceptFromContact,
AllowList,
}Variants§
Ignore
Do not react, leave it for the custom event handler
Accept
Accept all messages
AcceptFromContact
Only accept messages from contacts. Pairs strongly with NewContactPolicy of AllowList
AllowList
AllowList is a list of handles that connections will be allowed from and connected to, and will be accepted everything else will be ignored
Auto Trait Implementations§
impl Freeze for GroupInteractionPolicy
impl RefUnwindSafe for GroupInteractionPolicy
impl Send for GroupInteractionPolicy
impl Sync for GroupInteractionPolicy
impl Unpin for GroupInteractionPolicy
impl UnwindSafe for GroupInteractionPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more