pub struct TaggedSource {
pub source: Arc<dyn RustCrateSource>,
pub tag: u32,
}Fields§
§source: Arc<dyn RustCrateSource>§tag: u32Trait Implementations§
Source§impl RustCrateSource for TaggedSource
impl RustCrateSource for TaggedSource
fn source_path(&self) -> SourcePath
fn record_server_config(&self, config: ServerConfig)
fn host(&self) -> Arc<dyn Host>
fn server(&self) -> Arc<dyn RustCrateServer>
fn wrap_reverse_server_config(&self, config: ServerConfig) -> ServerConfig
fn record_server_strategy(&self, config: ServerStrategy)
fn send_to(&self, sink: &dyn RustCrateSink)
Auto Trait Implementations§
impl Freeze for TaggedSource
impl !RefUnwindSafe for TaggedSource
impl Send for TaggedSource
impl Sync for TaggedSource
impl Unpin for TaggedSource
impl !UnwindSafe for TaggedSource
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].