pub enum CommandResultLevel {
Warning,
Status,
Error,
Unknown(String),
}
Expand description
NetStream onStatus level (7.2.2.) and NetConnection connect result level (7.2.1.1.)
Variants§
Warning
Warning level.
Not further explained in any spec.
Status
Status level.
Used by OnStatus
commands.
Error
Error level.
Not further explained in any spec.
Unknown(String)
Any other level.
Trait Implementations§
Source§impl AsRef<str> for CommandResultLevel
impl AsRef<str> for CommandResultLevel
Source§impl Clone for CommandResultLevel
impl Clone for CommandResultLevel
Source§fn clone(&self) -> CommandResultLevel
fn clone(&self) -> CommandResultLevel
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 CommandResultLevel
impl Debug for CommandResultLevel
Source§impl Display for CommandResultLevel
impl Display for CommandResultLevel
Source§impl FromStr for CommandResultLevel
impl FromStr for CommandResultLevel
Source§impl PartialEq for CommandResultLevel
impl PartialEq for CommandResultLevel
Source§impl Serialize for CommandResultLevel
impl Serialize for CommandResultLevel
impl Eq for CommandResultLevel
impl StructuralPartialEq for CommandResultLevel
Auto Trait Implementations§
impl Freeze for CommandResultLevel
impl RefUnwindSafe for CommandResultLevel
impl Send for CommandResultLevel
impl Sync for CommandResultLevel
impl Unpin for CommandResultLevel
impl UnwindSafe for CommandResultLevel
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