pub enum OkModelingCmdResponse {
Show 56 variants
Empty,
Export(Export),
SelectWithPoint(SelectWithPoint),
HighlightSetEntity(HighlightSetEntity),
EntityGetChildUuid(EntityGetChildUuid),
EntityGetNumChildren(EntityGetNumChildren),
EntityGetParentId(EntityGetParentId),
EntityGetAllChildUuids(EntityGetAllChildUuids),
EntityGetSketchPaths(EntityGetSketchPaths),
Loft(Loft),
ClosePath(ClosePath),
CameraDragMove(CameraDragMove),
CameraDragEnd(CameraDragEnd),
DefaultCameraGetSettings(DefaultCameraGetSettings),
DefaultCameraZoom(DefaultCameraZoom),
ZoomToFit(ZoomToFit),
ViewIsometric(ViewIsometric),
GetNumObjects(GetNumObjects),
DefaultCameraFocusOn(DefaultCameraFocusOn),
SelectGet(SelectGet),
Solid3dGetAllEdgeFaces(Solid3dGetAllEdgeFaces),
Solid3dGetAllOppositeEdges(Solid3dGetAllOppositeEdges),
Solid3dGetOppositeEdge(Solid3dGetOppositeEdge),
Solid3dGetNextAdjacentEdge(Solid3dGetNextAdjacentEdge),
Solid3dGetPrevAdjacentEdge(Solid3dGetPrevAdjacentEdge),
GetEntityType(GetEntityType),
CurveGetControlPoints(CurveGetControlPoints),
CurveGetType(CurveGetType),
MouseClick(MouseClick),
TakeSnapshot(TakeSnapshot),
PathGetInfo(PathGetInfo),
PathSegmentInfo(PathSegmentInfo),
PathGetCurveUuidsForVertices(PathGetCurveUuidsForVertices),
PathGetCurveUuid(PathGetCurveUuid),
PathGetVertexUuids(PathGetVertexUuids),
PathGetSketchTargetUuid(PathGetSketchTargetUuid),
CurveGetEndPoints(CurveGetEndPoints),
FaceIsPlanar(FaceIsPlanar),
FaceGetPosition(FaceGetPosition),
FaceGetCenter(FaceGetCenter),
FaceGetGradient(FaceGetGradient),
PlaneIntersectAndProject(PlaneIntersectAndProject),
ImportFiles(ImportFiles),
ImportedGeometry(ImportedGeometry),
Mass(Mass),
Volume(Volume),
Density(Density),
SurfaceArea(SurfaceArea),
CenterOfMass(CenterOfMass),
GetSketchModePlane(GetSketchModePlane),
EntityGetDistance(EntityGetDistance),
EntityLinearPatternTransform(EntityLinearPatternTransform),
EntityLinearPattern(EntityLinearPattern),
EntityCircularPattern(EntityCircularPattern),
Solid3dGetExtrusionFaceInfo(Solid3dGetExtrusionFaceInfo),
ExtrusionFaceInfo(ExtrusionFaceInfo),
}Expand description
A successful response from a modeling command. This can be one of several types of responses, depending on the command.
Variants§
Empty
An empty response, used for any command that does not explicitly have a response defined here.
Export(Export)
The response to the ‘Export’ endpoint
SelectWithPoint(SelectWithPoint)
The response to the ‘SelectWithPoint’ endpoint
HighlightSetEntity(HighlightSetEntity)
The response to the ‘HighlightSetEntity’ endpoint
EntityGetChildUuid(EntityGetChildUuid)
The response to the ‘EntityGetChildUuid’ endpoint
EntityGetNumChildren(EntityGetNumChildren)
The response to the ‘EntityGetNumChildren’ endpoint
EntityGetParentId(EntityGetParentId)
The response to the ‘EntityGetParentId’ endpoint
EntityGetAllChildUuids(EntityGetAllChildUuids)
The response to the ‘EntityGetAllChildUuids’ endpoint
EntityGetSketchPaths(EntityGetSketchPaths)
The response to the ‘EntityGetSketchPaths’ endpoint
Loft(Loft)
The response to the ‘Loft’ endpoint
ClosePath(ClosePath)
The response to the ‘ClosePath’ endpoint
CameraDragMove(CameraDragMove)
The response to the ‘CameraDragMove’ endpoint
CameraDragEnd(CameraDragEnd)
The response to the ‘CameraDragEnd’ endpoint
DefaultCameraGetSettings(DefaultCameraGetSettings)
The response to the ‘DefaultCameraGetSettings’ endpoint
DefaultCameraZoom(DefaultCameraZoom)
The response to the ‘DefaultCameraZoom’ endpoint
ZoomToFit(ZoomToFit)
The response to the ‘ZoomToFit’ endpoint
ViewIsometric(ViewIsometric)
The response to the ‘ViewIsometric’ endpoint
GetNumObjects(GetNumObjects)
The response to the ‘GetNumObjects’ endpoint
DefaultCameraFocusOn(DefaultCameraFocusOn)
The response to the ‘DefaultCameraFocusOn’ endpoint
SelectGet(SelectGet)
The response to the ‘SelectGet’ endpoint
Solid3dGetAllEdgeFaces(Solid3dGetAllEdgeFaces)
The response to the ‘Solid3dGetAllEdgeFaces’ endpoint
Solid3dGetAllOppositeEdges(Solid3dGetAllOppositeEdges)
The response to the ‘Solid3dGetAllOppositeEdges’ endpoint
Solid3dGetOppositeEdge(Solid3dGetOppositeEdge)
The response to the ‘Solid3dGetOppositeEdge’ endpoint
Solid3dGetNextAdjacentEdge(Solid3dGetNextAdjacentEdge)
The response to the ‘Solid3dGetNextAdjacentEdge’ endpoint
Solid3dGetPrevAdjacentEdge(Solid3dGetPrevAdjacentEdge)
The response to the ‘Solid3dGetPrevAdjacentEdge’ endpoint
GetEntityType(GetEntityType)
The response to the ‘GetEntityType’ endpoint
CurveGetControlPoints(CurveGetControlPoints)
The response to the ‘CurveGetControlPoints’ endpoint
CurveGetType(CurveGetType)
The response to the ‘CurveGetType’ endpoint
MouseClick(MouseClick)
The response to the ‘MouseClick’ endpoint
TakeSnapshot(TakeSnapshot)
The response to the ‘TakeSnapshot’ endpoint
PathGetInfo(PathGetInfo)
The response to the ‘PathGetInfo’ endpoint
PathSegmentInfo(PathSegmentInfo)
The response to the ‘PathSegmentInfo’ endpoint
PathGetCurveUuidsForVertices(PathGetCurveUuidsForVertices)
The response to the ‘PathGetCurveUuidsForVertices’ endpoint
PathGetCurveUuid(PathGetCurveUuid)
The response to the ‘PathGetCurveUuid’ endpoint
PathGetVertexUuids(PathGetVertexUuids)
The response to the ‘PathGetVertexUuids’ endpoint
PathGetSketchTargetUuid(PathGetSketchTargetUuid)
The response to the ‘PathGetSketchTargetUuid’ endpoint
CurveGetEndPoints(CurveGetEndPoints)
The response to the ‘CurveGetEndPoints’ endpoint
FaceIsPlanar(FaceIsPlanar)
The response to the ‘FaceIsPlanar’ endpoint
FaceGetPosition(FaceGetPosition)
The response to the ‘FaceGetPosition’ endpoint
FaceGetCenter(FaceGetCenter)
The response to the ‘FaceGetCenter’ endpoint
FaceGetGradient(FaceGetGradient)
The response to the ‘FaceGetGradient’ endpoint
PlaneIntersectAndProject(PlaneIntersectAndProject)
The response to the ‘PlaneIntersectAndProject’ endpoint
ImportFiles(ImportFiles)
The response to the ‘ImportFiles’ endpoint
ImportedGeometry(ImportedGeometry)
The response to the ‘ImportedGeometry’ endpoint
Mass(Mass)
The response to the ‘Mass’ endpoint
Volume(Volume)
The response to the ‘Volume’ endpoint
Density(Density)
The response to the ‘Density’ endpoint
SurfaceArea(SurfaceArea)
The response to the ‘SurfaceArea’ endpoint
CenterOfMass(CenterOfMass)
The response to the ‘CenterOfMass’ endpoint
GetSketchModePlane(GetSketchModePlane)
The response to the ‘GetSketchModePlane’ endpoint
EntityGetDistance(EntityGetDistance)
The response to the ‘EntityGetDistance’ endpoint
EntityLinearPatternTransform(EntityLinearPatternTransform)
The response to the ‘EntityLinearPatternTransform’ endpoint
EntityLinearPattern(EntityLinearPattern)
The response to the ‘EntityLinearPattern’ endpoint
EntityCircularPattern(EntityCircularPattern)
The response to the ‘EntityCircularPattern’ endpoint
Solid3dGetExtrusionFaceInfo(Solid3dGetExtrusionFaceInfo)
The response to the ‘Solid3dGetExtrusionFaceInfo’ endpoint
ExtrusionFaceInfo(ExtrusionFaceInfo)
The response to the ‘ExtrusionFaceInfo’ endpoint
Trait Implementations§
source§impl Clone for OkModelingCmdResponse
impl Clone for OkModelingCmdResponse
source§fn clone(&self) -> OkModelingCmdResponse
fn clone(&self) -> OkModelingCmdResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OkModelingCmdResponse
impl Debug for OkModelingCmdResponse
source§impl<'de> Deserialize<'de> for OkModelingCmdResponse
impl<'de> Deserialize<'de> for OkModelingCmdResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl From<()> for OkModelingCmdResponse
impl From<()> for OkModelingCmdResponse
source§impl From<CameraDragEnd> for OkModelingCmdResponse
impl From<CameraDragEnd> for OkModelingCmdResponse
source§fn from(x: CameraDragEnd) -> Self
fn from(x: CameraDragEnd) -> Self
source§impl From<CameraDragMove> for OkModelingCmdResponse
impl From<CameraDragMove> for OkModelingCmdResponse
source§fn from(x: CameraDragMove) -> Self
fn from(x: CameraDragMove) -> Self
source§impl From<CenterOfMass> for OkModelingCmdResponse
impl From<CenterOfMass> for OkModelingCmdResponse
source§fn from(x: CenterOfMass) -> Self
fn from(x: CenterOfMass) -> Self
source§impl From<ClosePath> for OkModelingCmdResponse
impl From<ClosePath> for OkModelingCmdResponse
source§impl From<CurveGetControlPoints> for OkModelingCmdResponse
impl From<CurveGetControlPoints> for OkModelingCmdResponse
source§fn from(x: CurveGetControlPoints) -> Self
fn from(x: CurveGetControlPoints) -> Self
source§impl From<CurveGetEndPoints> for OkModelingCmdResponse
impl From<CurveGetEndPoints> for OkModelingCmdResponse
source§fn from(x: CurveGetEndPoints) -> Self
fn from(x: CurveGetEndPoints) -> Self
source§impl From<CurveGetType> for OkModelingCmdResponse
impl From<CurveGetType> for OkModelingCmdResponse
source§fn from(x: CurveGetType) -> Self
fn from(x: CurveGetType) -> Self
source§impl From<DefaultCameraFocusOn> for OkModelingCmdResponse
impl From<DefaultCameraFocusOn> for OkModelingCmdResponse
source§fn from(x: DefaultCameraFocusOn) -> Self
fn from(x: DefaultCameraFocusOn) -> Self
source§impl From<DefaultCameraGetSettings> for OkModelingCmdResponse
impl From<DefaultCameraGetSettings> for OkModelingCmdResponse
source§fn from(x: DefaultCameraGetSettings) -> Self
fn from(x: DefaultCameraGetSettings) -> Self
source§impl From<DefaultCameraZoom> for OkModelingCmdResponse
impl From<DefaultCameraZoom> for OkModelingCmdResponse
source§fn from(x: DefaultCameraZoom) -> Self
fn from(x: DefaultCameraZoom) -> Self
source§impl From<Density> for OkModelingCmdResponse
impl From<Density> for OkModelingCmdResponse
source§impl From<EntityCircularPattern> for OkModelingCmdResponse
impl From<EntityCircularPattern> for OkModelingCmdResponse
source§fn from(x: EntityCircularPattern) -> Self
fn from(x: EntityCircularPattern) -> Self
source§impl From<EntityGetAllChildUuids> for OkModelingCmdResponse
impl From<EntityGetAllChildUuids> for OkModelingCmdResponse
source§fn from(x: EntityGetAllChildUuids) -> Self
fn from(x: EntityGetAllChildUuids) -> Self
source§impl From<EntityGetChildUuid> for OkModelingCmdResponse
impl From<EntityGetChildUuid> for OkModelingCmdResponse
source§fn from(x: EntityGetChildUuid) -> Self
fn from(x: EntityGetChildUuid) -> Self
source§impl From<EntityGetDistance> for OkModelingCmdResponse
impl From<EntityGetDistance> for OkModelingCmdResponse
source§fn from(x: EntityGetDistance) -> Self
fn from(x: EntityGetDistance) -> Self
source§impl From<EntityGetNumChildren> for OkModelingCmdResponse
impl From<EntityGetNumChildren> for OkModelingCmdResponse
source§fn from(x: EntityGetNumChildren) -> Self
fn from(x: EntityGetNumChildren) -> Self
source§impl From<EntityGetParentId> for OkModelingCmdResponse
impl From<EntityGetParentId> for OkModelingCmdResponse
source§fn from(x: EntityGetParentId) -> Self
fn from(x: EntityGetParentId) -> Self
source§impl From<EntityGetSketchPaths> for OkModelingCmdResponse
impl From<EntityGetSketchPaths> for OkModelingCmdResponse
source§fn from(x: EntityGetSketchPaths) -> Self
fn from(x: EntityGetSketchPaths) -> Self
source§impl From<EntityLinearPattern> for OkModelingCmdResponse
impl From<EntityLinearPattern> for OkModelingCmdResponse
source§fn from(x: EntityLinearPattern) -> Self
fn from(x: EntityLinearPattern) -> Self
source§impl From<EntityLinearPatternTransform> for OkModelingCmdResponse
impl From<EntityLinearPatternTransform> for OkModelingCmdResponse
source§fn from(x: EntityLinearPatternTransform) -> Self
fn from(x: EntityLinearPatternTransform) -> Self
source§impl From<Export> for OkModelingCmdResponse
impl From<Export> for OkModelingCmdResponse
source§impl From<ExtrusionFaceInfo> for OkModelingCmdResponse
impl From<ExtrusionFaceInfo> for OkModelingCmdResponse
source§fn from(x: ExtrusionFaceInfo) -> Self
fn from(x: ExtrusionFaceInfo) -> Self
source§impl From<FaceGetCenter> for OkModelingCmdResponse
impl From<FaceGetCenter> for OkModelingCmdResponse
source§fn from(x: FaceGetCenter) -> Self
fn from(x: FaceGetCenter) -> Self
source§impl From<FaceGetGradient> for OkModelingCmdResponse
impl From<FaceGetGradient> for OkModelingCmdResponse
source§fn from(x: FaceGetGradient) -> Self
fn from(x: FaceGetGradient) -> Self
source§impl From<FaceGetPosition> for OkModelingCmdResponse
impl From<FaceGetPosition> for OkModelingCmdResponse
source§fn from(x: FaceGetPosition) -> Self
fn from(x: FaceGetPosition) -> Self
source§impl From<FaceIsPlanar> for OkModelingCmdResponse
impl From<FaceIsPlanar> for OkModelingCmdResponse
source§fn from(x: FaceIsPlanar) -> Self
fn from(x: FaceIsPlanar) -> Self
source§impl From<GetEntityType> for OkModelingCmdResponse
impl From<GetEntityType> for OkModelingCmdResponse
source§fn from(x: GetEntityType) -> Self
fn from(x: GetEntityType) -> Self
source§impl From<GetNumObjects> for OkModelingCmdResponse
impl From<GetNumObjects> for OkModelingCmdResponse
source§fn from(x: GetNumObjects) -> Self
fn from(x: GetNumObjects) -> Self
source§impl From<GetSketchModePlane> for OkModelingCmdResponse
impl From<GetSketchModePlane> for OkModelingCmdResponse
source§fn from(x: GetSketchModePlane) -> Self
fn from(x: GetSketchModePlane) -> Self
source§impl From<HighlightSetEntity> for OkModelingCmdResponse
impl From<HighlightSetEntity> for OkModelingCmdResponse
source§fn from(x: HighlightSetEntity) -> Self
fn from(x: HighlightSetEntity) -> Self
source§impl From<ImportFiles> for OkModelingCmdResponse
impl From<ImportFiles> for OkModelingCmdResponse
source§fn from(x: ImportFiles) -> Self
fn from(x: ImportFiles) -> Self
source§impl From<ImportedGeometry> for OkModelingCmdResponse
impl From<ImportedGeometry> for OkModelingCmdResponse
source§fn from(x: ImportedGeometry) -> Self
fn from(x: ImportedGeometry) -> Self
source§impl From<Loft> for OkModelingCmdResponse
impl From<Loft> for OkModelingCmdResponse
source§impl From<Mass> for OkModelingCmdResponse
impl From<Mass> for OkModelingCmdResponse
source§impl From<MouseClick> for OkModelingCmdResponse
impl From<MouseClick> for OkModelingCmdResponse
source§fn from(x: MouseClick) -> Self
fn from(x: MouseClick) -> Self
source§impl From<PathGetCurveUuid> for OkModelingCmdResponse
impl From<PathGetCurveUuid> for OkModelingCmdResponse
source§fn from(x: PathGetCurveUuid) -> Self
fn from(x: PathGetCurveUuid) -> Self
source§impl From<PathGetCurveUuidsForVertices> for OkModelingCmdResponse
impl From<PathGetCurveUuidsForVertices> for OkModelingCmdResponse
source§fn from(x: PathGetCurveUuidsForVertices) -> Self
fn from(x: PathGetCurveUuidsForVertices) -> Self
source§impl From<PathGetInfo> for OkModelingCmdResponse
impl From<PathGetInfo> for OkModelingCmdResponse
source§fn from(x: PathGetInfo) -> Self
fn from(x: PathGetInfo) -> Self
source§impl From<PathGetSketchTargetUuid> for OkModelingCmdResponse
impl From<PathGetSketchTargetUuid> for OkModelingCmdResponse
source§fn from(x: PathGetSketchTargetUuid) -> Self
fn from(x: PathGetSketchTargetUuid) -> Self
source§impl From<PathGetVertexUuids> for OkModelingCmdResponse
impl From<PathGetVertexUuids> for OkModelingCmdResponse
source§fn from(x: PathGetVertexUuids) -> Self
fn from(x: PathGetVertexUuids) -> Self
source§impl From<PathSegmentInfo> for OkModelingCmdResponse
impl From<PathSegmentInfo> for OkModelingCmdResponse
source§fn from(x: PathSegmentInfo) -> Self
fn from(x: PathSegmentInfo) -> Self
source§impl From<PlaneIntersectAndProject> for OkModelingCmdResponse
impl From<PlaneIntersectAndProject> for OkModelingCmdResponse
source§fn from(x: PlaneIntersectAndProject) -> Self
fn from(x: PlaneIntersectAndProject) -> Self
source§impl From<SelectGet> for OkModelingCmdResponse
impl From<SelectGet> for OkModelingCmdResponse
source§impl From<SelectWithPoint> for OkModelingCmdResponse
impl From<SelectWithPoint> for OkModelingCmdResponse
source§fn from(x: SelectWithPoint) -> Self
fn from(x: SelectWithPoint) -> Self
source§impl From<Solid3dGetAllEdgeFaces> for OkModelingCmdResponse
impl From<Solid3dGetAllEdgeFaces> for OkModelingCmdResponse
source§fn from(x: Solid3dGetAllEdgeFaces) -> Self
fn from(x: Solid3dGetAllEdgeFaces) -> Self
source§impl From<Solid3dGetAllOppositeEdges> for OkModelingCmdResponse
impl From<Solid3dGetAllOppositeEdges> for OkModelingCmdResponse
source§fn from(x: Solid3dGetAllOppositeEdges) -> Self
fn from(x: Solid3dGetAllOppositeEdges) -> Self
source§impl From<Solid3dGetExtrusionFaceInfo> for OkModelingCmdResponse
impl From<Solid3dGetExtrusionFaceInfo> for OkModelingCmdResponse
source§fn from(x: Solid3dGetExtrusionFaceInfo) -> Self
fn from(x: Solid3dGetExtrusionFaceInfo) -> Self
source§impl From<Solid3dGetNextAdjacentEdge> for OkModelingCmdResponse
impl From<Solid3dGetNextAdjacentEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetNextAdjacentEdge) -> Self
fn from(x: Solid3dGetNextAdjacentEdge) -> Self
source§impl From<Solid3dGetOppositeEdge> for OkModelingCmdResponse
impl From<Solid3dGetOppositeEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetOppositeEdge) -> Self
fn from(x: Solid3dGetOppositeEdge) -> Self
source§impl From<Solid3dGetPrevAdjacentEdge> for OkModelingCmdResponse
impl From<Solid3dGetPrevAdjacentEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetPrevAdjacentEdge) -> Self
fn from(x: Solid3dGetPrevAdjacentEdge) -> Self
source§impl From<SurfaceArea> for OkModelingCmdResponse
impl From<SurfaceArea> for OkModelingCmdResponse
source§fn from(x: SurfaceArea) -> Self
fn from(x: SurfaceArea) -> Self
source§impl From<TakeSnapshot> for OkModelingCmdResponse
impl From<TakeSnapshot> for OkModelingCmdResponse
source§fn from(x: TakeSnapshot) -> Self
fn from(x: TakeSnapshot) -> Self
source§impl From<ViewIsometric> for OkModelingCmdResponse
impl From<ViewIsometric> for OkModelingCmdResponse
source§fn from(x: ViewIsometric) -> Self
fn from(x: ViewIsometric) -> Self
source§impl From<Volume> for OkModelingCmdResponse
impl From<Volume> for OkModelingCmdResponse
source§impl From<ZoomToFit> for OkModelingCmdResponse
impl From<ZoomToFit> for OkModelingCmdResponse
source§impl JsonSchema for OkModelingCmdResponse
impl JsonSchema for OkModelingCmdResponse
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for OkModelingCmdResponse
impl RefUnwindSafe for OkModelingCmdResponse
impl Send for OkModelingCmdResponse
impl Sync for OkModelingCmdResponse
impl Unpin for OkModelingCmdResponse
impl UnwindSafe for OkModelingCmdResponse
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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