#[non_exhaustive]pub struct TestConnectionOutput {
pub connector_id: Option<String>,
pub status: Option<String>,
pub status_message: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connector_id: Option<String>
Returns the identifier of the connector object that you are testing.
status: Option<String>
Returns OK
for successful test, or ERROR
if the test fails.
status_message: Option<String>
Returns Connection succeeded
if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive.
-
Verify that your secret name aligns with the one in Transfer Role permissions.
-
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
-
Verify that the secret exists and is formatted correctly.
-
Verify that the trusted host key in the connector configuration matches the
ssh-keyscan
output.
Implementations§
source§impl TestConnectionOutput
impl TestConnectionOutput
sourcepub fn connector_id(&self) -> Option<&str>
pub fn connector_id(&self) -> Option<&str>
Returns the identifier of the connector object that you are testing.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Returns OK
for successful test, or ERROR
if the test fails.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Returns Connection succeeded
if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive.
-
Verify that your secret name aligns with the one in Transfer Role permissions.
-
Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector.
-
Verify that the secret exists and is formatted correctly.
-
Verify that the trusted host key in the connector configuration matches the
ssh-keyscan
output.
source§impl TestConnectionOutput
impl TestConnectionOutput
sourcepub fn builder() -> TestConnectionOutputBuilder
pub fn builder() -> TestConnectionOutputBuilder
Creates a new builder-style object to manufacture TestConnectionOutput
.
Trait Implementations§
source§impl Clone for TestConnectionOutput
impl Clone for TestConnectionOutput
source§fn clone(&self) -> TestConnectionOutput
fn clone(&self) -> TestConnectionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestConnectionOutput
impl Debug for TestConnectionOutput
source§impl PartialEq for TestConnectionOutput
impl PartialEq for TestConnectionOutput
source§fn eq(&self, other: &TestConnectionOutput) -> bool
fn eq(&self, other: &TestConnectionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for TestConnectionOutput
impl RequestId for TestConnectionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.