pub struct NoopTransport;Expand description
Drops events. The safe default when lineage is not configured.
Trait Implementations§
Source§impl Debug for NoopTransport
impl Debug for NoopTransport
Source§impl Default for NoopTransport
impl Default for NoopTransport
Source§fn default() -> NoopTransport
fn default() -> NoopTransport
Returns the “default value” for a type. Read more
Source§impl Transport for NoopTransport
impl Transport for NoopTransport
Source§fn emit<'life0, 'life1, 'async_trait>(
&'life0 self,
_event: &'life1 RunEvent,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
NoopTransport: 'async_trait,
fn emit<'life0, 'life1, 'async_trait>(
&'life0 self,
_event: &'life1 RunEvent,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
NoopTransport: 'async_trait,
Delivers a single OpenLineage event to the backend. Read more
Source§fn emit_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
events: &'life1 [RunEvent],
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn emit_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
events: &'life1 [RunEvent],
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Source§fn flush<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn flush<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Flushes any internally-buffered events, blocking until they are delivered
(or fail). Called by
OpenLineageClient::shutdown
after the drain queue empties. The default is a no-op — override it only
for transports that buffer beyond a single emit call. Read moreAuto Trait Implementations§
impl Freeze for NoopTransport
impl RefUnwindSafe for NoopTransport
impl Send for NoopTransport
impl Sync for NoopTransport
impl Unpin for NoopTransport
impl UnsafeUnpin for NoopTransport
impl UnwindSafe for NoopTransport
Blanket Implementations§
impl<T> Allocation for T
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> 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 more