#[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-keyscanoutput.
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-keyscanoutput.
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.impl StructuralPartialEq for TestConnectionOutput
Auto Trait Implementations§
impl Freeze for TestConnectionOutput
impl RefUnwindSafe for TestConnectionOutput
impl Send for TestConnectionOutput
impl Sync for TestConnectionOutput
impl Unpin for TestConnectionOutput
impl UnwindSafe for TestConnectionOutput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more