pub struct ParallelConnector;Trait Implementations§
Source§impl Connector for ParallelConnector
impl Connector for ParallelConnector
Source§fn provider_id(&self) -> &str
fn provider_id(&self) -> &str
Unique provider identifier (e.g. “daytona”). Must match
user_connections.provider.Source§fn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable name (e.g. “Daytona”).
Source§fn description(&self) -> &str
fn description(&self) -> &str
Short description for the connections UI.
Source§fn connection_type(&self) -> ConnectorType
fn connection_type(&self) -> ConnectorType
Whether this provider uses OAuth or direct API key entry.
Source§fn form_schema(&self) -> Option<ConnectorFormSchema>
fn form_schema(&self) -> Option<ConnectorFormSchema>
Form schema for API key providers. OAuth providers return None.
Source§fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
credential: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<ConnectorValidation, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
credential: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<ConnectorValidation, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Validate a credential before saving. Called for API key providers.
Returns Ok with optional metadata on success, Err with user-facing message on failure.
Source§fn validate_fields<'life0, 'life1, 'async_trait>(
&'life0 self,
fields: &'life1 HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<ConnectorValidation, String>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn validate_fields<'life0, 'life1, 'async_trait>(
&'life0 self,
fields: &'life1 HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<ConnectorValidation, String>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Validate with all form fields. Default delegates to
validate() using the api_key field.
Override this when the provider needs extra fields (e.g. org slug for personal tokens).Auto Trait Implementations§
impl Freeze for ParallelConnector
impl RefUnwindSafe for ParallelConnector
impl Send for ParallelConnector
impl Sync for ParallelConnector
impl Unpin for ParallelConnector
impl UnsafeUnpin for ParallelConnector
impl UnwindSafe for ParallelConnector
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
Converts
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>
Converts
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 moreSource§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