Enum rust_chat::cmd::InputError
source · [−]pub enum InputError {
InvalidCmd(String),
NoCommand,
}
Variants
InvalidCmd(String)
NoCommand
Implementations
sourceimpl InputError
impl InputError
Auto Trait Implementations
impl RefUnwindSafe for InputError
impl Send for InputError
impl Sync for InputError
impl Unpin for InputError
impl UnwindSafe for InputError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more