pub enum IronChannelError {
IncompatibleClient,
EncryptionRequired,
}Expand description
Reasons why a user might be denied access to a Legion channel
Variants§
IncompatibleClient
Client doesn’t support Legion Protocol
EncryptionRequired
Channel requires encryption but user can’t provide it
Trait Implementations§
Source§impl Clone for IronChannelError
impl Clone for IronChannelError
Source§fn clone(&self) -> IronChannelError
fn clone(&self) -> IronChannelError
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 IronChannelError
impl Debug for IronChannelError
Source§impl PartialEq for IronChannelError
impl PartialEq for IronChannelError
impl Eq for IronChannelError
impl StructuralPartialEq for IronChannelError
Auto Trait Implementations§
impl Freeze for IronChannelError
impl RefUnwindSafe for IronChannelError
impl Send for IronChannelError
impl Sync for IronChannelError
impl Unpin for IronChannelError
impl UnsafeUnpin for IronChannelError
impl UnwindSafe for IronChannelError
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