pub enum ReturnCode {
Ok = 0,
OkEat = 1,
Error = -1,
}Expand description
Status values for Weechat callbacks
Variants§
Ok = 0
The callback returned successfully.
OkEat = 1
The callback returned successfully and the command will not be executed after the callback.
Error = -1
The callback returned with an error.
Auto Trait Implementations§
impl Freeze for ReturnCode
impl RefUnwindSafe for ReturnCode
impl Send for ReturnCode
impl Sync for ReturnCode
impl Unpin for ReturnCode
impl UnwindSafe for ReturnCode
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