pub enum RemoteAction {
Accept,
Skip,
Modify {
host: String,
port: u16,
},
}Expand description
Action for the remote command (sent in response to a >REMOTE:
notification, requires --management-query-remote).
Variants§
Accept
Accept the connection entry as-is.
Skip
Skip this entry and advance to the next --remote.
Modify
Override the host and port.
Trait Implementations§
Source§impl Clone for RemoteAction
impl Clone for RemoteAction
Source§fn clone(&self) -> RemoteAction
fn clone(&self) -> RemoteAction
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 moreSource§impl Debug for RemoteAction
impl Debug for RemoteAction
Source§impl PartialEq for RemoteAction
impl PartialEq for RemoteAction
impl Eq for RemoteAction
impl StructuralPartialEq for RemoteAction
Auto Trait Implementations§
impl Freeze for RemoteAction
impl RefUnwindSafe for RemoteAction
impl Send for RemoteAction
impl Sync for RemoteAction
impl Unpin for RemoteAction
impl UnsafeUnpin for RemoteAction
impl UnwindSafe for RemoteAction
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