pub enum CommandSenderMode {
Rcon {
host: String,
port: u16,
password: String,
},
PooledRcon {
host: String,
port: u16,
password: String,
},
Stdin {
stdin: Arc<Mutex<ChildStdin>>,
},
}Variants§
Trait Implementations§
Source§impl Clone for CommandSenderMode
impl Clone for CommandSenderMode
Source§fn clone(&self) -> CommandSenderMode
fn clone(&self) -> CommandSenderMode
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CommandSenderMode
impl !RefUnwindSafe for CommandSenderMode
impl Send for CommandSenderMode
impl Sync for CommandSenderMode
impl Unpin for CommandSenderMode
impl UnsafeUnpin for CommandSenderMode
impl !UnwindSafe for CommandSenderMode
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