pub struct InspectDataBuilder { /* private fields */ }Implementations§
Source§impl InspectDataBuilder
impl InspectDataBuilder
pub fn new( moniker: ExtendedMoniker, component_url: impl Into<FlyStr>, timestamp: impl Into<Timestamp>, ) -> Self
pub fn escrowed(self, escrowed: bool) -> Self
pub fn with_hierarchy( self, hierarchy: DiagnosticsHierarchy<<Inspect as DiagnosticsData>::Key>, ) -> Self
pub fn with_errors(self, errors: Vec<InspectError>) -> Self
pub fn with_name(self, name: InspectHandleName) -> Self
pub fn build(self) -> Data<Inspect>
Auto Trait Implementations§
impl Freeze for InspectDataBuilder
impl RefUnwindSafe for InspectDataBuilder
impl Send for InspectDataBuilder
impl Sync for InspectDataBuilder
impl Unpin for InspectDataBuilder
impl UnsafeUnpin for InspectDataBuilder
impl UnwindSafe for InspectDataBuilder
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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