pub enum MissingWord {
Tag,
Category,
Message,
}Expand description
Types of words that can be missing from a response.
Variants§
Tag
Missing .tag in the response. All responses must have a tag.
Category
Missing category (!done, !repl, !trap, !fatal) in the response.
Message
Missing message in a [CommandResponse::FatalResponse]
Trait Implementations§
Source§impl Debug for MissingWord
impl Debug for MissingWord
Source§impl From<MissingWord> for ProtocolError
impl From<MissingWord> for ProtocolError
Source§fn from(e: MissingWord) -> Self
fn from(e: MissingWord) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingWord
impl RefUnwindSafe for MissingWord
impl Send for MissingWord
impl Sync for MissingWord
impl Unpin for MissingWord
impl UnwindSafe for MissingWord
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