pub struct Probe { /* private fields */ }Expand description
A raw identifier returned by a Source, before UUID wrapping.
Implementations§
Source§impl Probe
impl Probe
Sourcepub fn new(kind: SourceKind, value: impl Into<String>) -> Self
pub fn new(kind: SourceKind, value: impl Into<String>) -> Self
Construct a probe. The caller is responsible for trimming and
sentinel-rejection; see crate::sources::normalize.
Sourcepub fn kind(&self) -> SourceKind
pub fn kind(&self) -> SourceKind
Which source produced this value.
Trait Implementations§
impl Eq for Probe
impl StructuralPartialEq for Probe
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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