pub enum ChannelLife {
Permanent,
SemiPermanent,
Temporary,
}
Expand description
This defines when/if the channel gets automatically removed
Variants§
Permanent
Permanent channel
SemiPermanent
Semi-Permanent channel (gets removed after server restart)
Temporary
Temporary channel (gets removed if empty)
Trait Implementations§
Source§impl Debug for ChannelLife
impl Debug for ChannelLife
Auto Trait Implementations§
impl Freeze for ChannelLife
impl RefUnwindSafe for ChannelLife
impl Send for ChannelLife
impl Sync for ChannelLife
impl Unpin for ChannelLife
impl UnwindSafe for ChannelLife
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