#[repr(C)]pub enum HostmessageMode {
None = 0,
Log = 1,
Modal = 2,
Modalquit = 3,
}Variants§
None = 0
Dont display anything
Log = 1
Display message inside log
Modal = 2
Display message inside a modal dialog
Modalquit = 3
Display message inside a modal dialog and quit/close server/connection
Trait Implementations§
Source§impl Clone for HostmessageMode
impl Clone for HostmessageMode
Source§fn clone(&self) -> HostmessageMode
fn clone(&self) -> HostmessageMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostmessageMode
Source§impl Debug for HostmessageMode
impl Debug for HostmessageMode
impl Eq for HostmessageMode
Source§impl PartialEq for HostmessageMode
impl PartialEq for HostmessageMode
Source§fn eq(&self, other: &HostmessageMode) -> bool
fn eq(&self, other: &HostmessageMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostmessageMode
Auto Trait Implementations§
impl Freeze for HostmessageMode
impl RefUnwindSafe for HostmessageMode
impl Send for HostmessageMode
impl Sync for HostmessageMode
impl Unpin for HostmessageMode
impl UnsafeUnpin for HostmessageMode
impl UnwindSafe for HostmessageMode
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