pub enum ChannelJoinResult {
Allowed,
AllowedEncrypted,
Denied {
reason: IronChannelError,
},
}Expand description
Result of attempting to join a channel
Variantsยง
Allowed
User is allowed to join
AllowedEncrypted
User is allowed to join with encryption
Denied
User is denied access
Fields
ยง
reason: IronChannelErrorTrait Implementationsยง
Sourceยงimpl Clone for ChannelJoinResult
impl Clone for ChannelJoinResult
Sourceยงfn clone(&self) -> ChannelJoinResult
fn clone(&self) -> ChannelJoinResult
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for ChannelJoinResult
impl Debug for ChannelJoinResult
Sourceยงimpl PartialEq for ChannelJoinResult
impl PartialEq for ChannelJoinResult
impl Eq for ChannelJoinResult
impl StructuralPartialEq for ChannelJoinResult
Auto Trait Implementationsยง
impl Freeze for ChannelJoinResult
impl RefUnwindSafe for ChannelJoinResult
impl Send for ChannelJoinResult
impl Sync for ChannelJoinResult
impl Unpin for ChannelJoinResult
impl UnsafeUnpin for ChannelJoinResult
impl UnwindSafe for ChannelJoinResult
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