pub struct TaggedSource {
pub source: Arc<dyn RustCrateSource>,
pub tag: u32,
}
Fields§
§source: Arc<dyn RustCrateSource>
§tag: u32
Trait 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>
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