pub struct BridgeSpec {
pub name: &'static str,
pub env_binary_path: &'static str,
pub env_release_url: &'static str,
pub cache_subdir: &'static str,
pub release_tag_prefix: &'static str,
pub default_version: &'static str,
pub log_file_template: &'static str,
pub macos_supported: bool,
}Expand description
Static descriptor for a bridge binary (JMS, XML, or future bridges).
All fields are &'static str so constants can be declared at compile time.
Fields§
§name: &'static strHuman-readable name used in log messages and error strings.
env_binary_path: &'static strEnvironment variable that overrides the binary path (e.g. CAMEL_JMS_BRIDGE_BINARY_PATH).
env_release_url: &'static strEnvironment variable that overrides the GitHub Releases base URL.
cache_subdir: &'static strSub-directory under the shared rust-camel cache root (e.g. "jms-bridge").
release_tag_prefix: &'static strPrefix used in GitHub release tag names (e.g. "jms-bridge-v").
default_version: &'static strDefault version string used when no version is specified by the caller.
log_file_template: &'static strTemplate for the stderr log file name; {pid} is replaced at runtime.
Example: "jms-bridge-{pid}.log"
macos_supported: boolWhether pre-built binaries are available for macOS. JMS bridge: false (requires Docker build). XML bridge: true (GraalVM native-image).
Trait Implementations§
Source§impl Clone for BridgeSpec
impl Clone for BridgeSpec
Source§fn clone(&self) -> BridgeSpec
fn clone(&self) -> BridgeSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BridgeSpec
impl Debug for BridgeSpec
impl Copy for BridgeSpec
Auto Trait Implementations§
impl Freeze for BridgeSpec
impl RefUnwindSafe for BridgeSpec
impl Send for BridgeSpec
impl Sync for BridgeSpec
impl Unpin for BridgeSpec
impl UnsafeUnpin for BridgeSpec
impl UnwindSafe for BridgeSpec
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§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>
T in a tonic::Request