pub enum ChannelType {
IrcGlobal,
IrcLocal,
LegionEncrypted,
Invalid,
}Expand description
Channel type enumeration for Legion Protocol
Variantsยง
IrcGlobal
Standard IRC global channel (#channel)
IrcLocal
Standard IRC local channel (&channel)
LegionEncrypted
Legion Protocol encrypted channel (!channel)
Invalid
Invalid/unknown channel type
Trait Implementationsยง
Sourceยงimpl Clone for ChannelType
impl Clone for ChannelType
Sourceยงfn clone(&self) -> ChannelType
fn clone(&self) -> ChannelType
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 ChannelType
impl Debug for ChannelType
Sourceยงimpl PartialEq for ChannelType
impl PartialEq for ChannelType
impl Eq for ChannelType
impl StructuralPartialEq for ChannelType
Auto Trait Implementationsยง
impl Freeze for ChannelType
impl RefUnwindSafe for ChannelType
impl Send for ChannelType
impl Sync for ChannelType
impl Unpin for ChannelType
impl UnsafeUnpin for ChannelType
impl UnwindSafe for ChannelType
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