pub enum MasterHello {
Source {
src: PathBuf,
dst: PathBuf,
dest_cert_fingerprint: Option<CertFingerprint>,
filter: Option<FilterSettings>,
dry_run: Option<DryRunMode>,
capture: ExtendedMetadataCapture,
},
Destination {
source_control_addr: SocketAddr,
source_data_addr: SocketAddr,
server_name: String,
preserve: Settings,
source_cert_fingerprint: Option<CertFingerprint>,
dry_run: bool,
},
}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
§
capture: ExtendedMetadataCaptureExtended metadata the source must read per entry (currently: POSIX ACLs). When every field is false the source issues no xattr syscall at all.
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§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 Forget for MasterHello
impl Freeze for MasterHello
impl Move 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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