pub enum MasterHello {
Source {
src: PathBuf,
dst: PathBuf,
dest_cert_fingerprint: Option<CertFingerprint>,
filter: Option<FilterSettings>,
dry_run: Option<DryRunMode>,
},
Destination {
source_control_addr: SocketAddr,
source_data_addr: SocketAddr,
server_name: String,
preserve: Settings,
source_cert_fingerprint: Option<CertFingerprint>,
},
}Variants§
Source
Fields
§
dest_cert_fingerprint: Option<CertFingerprint>Destination’s TLS certificate fingerprint (None if encryption disabled)
§
filter: Option<FilterSettings>Filter settings for include/exclude patterns (source-side filtering)
§
dry_run: Option<DryRunMode>Dry-run mode for previewing operations
Destination
Fields
§
source_control_addr: SocketAddrTCP address for control connection to source
§
source_data_addr: SocketAddrTCP address for data connections to source
§
source_cert_fingerprint: Option<CertFingerprint>Source’s TLS certificate fingerprint (None if encryption disabled)
Trait Implementations§
Source§impl Clone for MasterHello
impl Clone for MasterHello
Source§fn clone(&self) -> MasterHello
fn clone(&self) -> MasterHello
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 MasterHello
impl Debug for MasterHello
Source§impl<'de> Deserialize<'de> for MasterHello
impl<'de> Deserialize<'de> for MasterHello
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MasterHello
impl RefUnwindSafe for MasterHello
impl Send for MasterHello
impl Sync for MasterHello
impl Unpin for MasterHello
impl UnsafeUnpin for MasterHello
impl UnwindSafe for MasterHello
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request