pub enum URCMessages {
Unknown,
Join(JoinUrc),
MessageHexSend(MessageHexSend),
MessageReceived(MessageReceived),
}
Expand description
URC definitions, needs to passed as generic of AtDigester: AtDigester<URCMessages>
Variants§
Unknown
Unknown URC message
Join(JoinUrc)
Join
MessageHexSend(MessageHexSend)
Message Hex Sen
MessageReceived(MessageReceived)
Message received
Trait Implementations§
Source§impl AtatUrc for URCMessages
impl AtatUrc for URCMessages
Source§impl Clone for URCMessages
impl Clone for URCMessages
Source§fn clone(&self) -> URCMessages
fn clone(&self) -> URCMessages
Returns a copy 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 URCMessages
impl Debug for URCMessages
Source§impl From<JoinUrc> for URCMessages
impl From<JoinUrc> for URCMessages
Source§impl From<MessageHexSend> for URCMessages
impl From<MessageHexSend> for URCMessages
Source§fn from(value: MessageHexSend) -> Self
fn from(value: MessageHexSend) -> Self
Converts to this type from the input type.
Source§impl From<MessageReceived> for URCMessages
impl From<MessageReceived> for URCMessages
Source§fn from(value: MessageReceived) -> Self
fn from(value: MessageReceived) -> Self
Converts to this type from the input type.
Source§impl Parser for URCMessages
impl Parser for URCMessages
Source§impl PartialEq for URCMessages
impl PartialEq for URCMessages
impl StructuralPartialEq for URCMessages
Auto Trait Implementations§
impl Freeze for URCMessages
impl RefUnwindSafe for URCMessages
impl Send for URCMessages
impl Sync for URCMessages
impl Unpin for URCMessages
impl UnwindSafe for URCMessages
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