pub struct XsdBridgeBackend { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BridgeReconnectHandler for XsdBridgeBackend
impl BridgeReconnectHandler for XsdBridgeBackend
Source§fn on_reconnect(&self, _port: u16) -> Result<(), BridgeError>
fn on_reconnect(&self, _port: u16) -> Result<(), BridgeError>
Called after a new bridge process starts and its port is known. Read more
Source§impl Clone for XsdBridgeBackend
impl Clone for XsdBridgeBackend
Source§fn clone(&self) -> XsdBridgeBackend
fn clone(&self) -> XsdBridgeBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XsdBridgeBackend
impl Debug for XsdBridgeBackend
Source§impl Default for XsdBridgeBackend
impl Default for XsdBridgeBackend
Source§impl XsdBridge for XsdBridgeBackend
impl XsdBridge for XsdBridgeBackend
fn register<'life0, 'async_trait>(
&'life0 self,
xsd_bytes: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<SchemaId, ValidatorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
schema_id: &'life1 str,
doc_bytes: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), ValidatorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for XsdBridgeBackend
impl !RefUnwindSafe for XsdBridgeBackend
impl Send for XsdBridgeBackend
impl Sync for XsdBridgeBackend
impl Unpin for XsdBridgeBackend
impl UnsafeUnpin for XsdBridgeBackend
impl !UnwindSafe for XsdBridgeBackend
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,
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> 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