Skip to main content

Reply

Enum Reply 

Source
pub enum Reply {
Show 18 variants ValidatedPlugins(PluginInstallReply), PluginAction(PluginActionReply), Run(RunReply), Query(MeasureReply), MeshImport(MeshImportReply), MeshImportPhase(MeshImportPhaseReply), RegionFit(RegionFitReply), ApplyRegionChoices(ApplyRegionChoicesReply), StepProbe(StepProbeReply), Topology(TopologyReply), SheetLines(SheetLinesReply), CamGenerate(CamReply), CamProgress(CamProgress), CamSimulate(CamSimReply), CamSimProgress(CamSimProgress), NeedPartsLibrary, Progress(RunProgress), SessionExport { generation: u64, transfer: Option<SessionTransfer>, },
}
Expand description

A reply sent runner → main; the main side demuxes it into per-kind buffers.

Variants§

§

ValidatedPlugins(PluginInstallReply)

§

PluginAction(PluginActionReply)

§

Run(RunReply)

§

Query(MeasureReply)

§

MeshImport(MeshImportReply)

§

MeshImportPhase(MeshImportPhaseReply)

A phase of an interactive mesh import, posted before its MeshImport.

§

RegionFit(RegionFitReply)

§

ApplyRegionChoices(ApplyRegionChoicesReply)

§

StepProbe(StepProbeReply)

§

Topology(TopologyReply)

§

SheetLines(SheetLinesReply)

§

CamGenerate(CamReply)

§

CamProgress(CamProgress)

A CAM job’s progress, posted from inside the job.

§

CamSimulate(CamSimReply)

§

CamSimProgress(CamSimProgress)

A simulation chunk’s progress, posted between motions.

§

NeedPartsLibrary

The runner REFUSED a run because its resident parts library could not serve it (a part the request references is missing, or the run was stamped for a different library revision). No geometry was touched; the main side re-sends the library and re-submits. Refusing is the whole point — running with the wrong library would be silently wrong geometry, which is far worse than one extra round trip.

§

Progress(RunProgress)

A feature of the in-flight run is about to execute (see RunProgress). Posted from INSIDE process_command, before its Reply::Run; the main side keeps only the latest.

§

SessionExport

The answer to Command::ExportSession.

Fields

§generation: u64

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for Reply

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Reply

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Reply

§

impl !Sync for Reply

§

impl Forget for Reply

§

impl Freeze for Reply
where *const u8 is !null: Freeze, PhantomData<FeatureRegistration>: Freeze, PhantomData<ActionRegistration>: Freeze, PhantomData<WorkbenchRegistration>: Freeze, PhantomData<PanelRegistration>: Freeze, PhantomData<AnnotationRegistration>: Freeze, PhantomData<PostRegistration>: Freeze, PhantomData<PluginPin>: Freeze, PhantomData<u8>: Freeze, PhantomData<DocumentCommand>: Freeze, PhantomData<String>: Freeze, PhantomData<(String, u32, Option<SolidDisplay>)>: Freeze, PhantomData<(String, Value)>: Freeze, PhantomData<(String, [f64; 3], Vec<String>)>: Freeze, PhantomData<(String, Fulfilment)>: Freeze, PhantomData<(String, KernelRefusal, Option<String>)>: Freeze, PhantomData<(String, Vec<Approximation>)>: Freeze, PhantomData<(String, String)>: Freeze, PhantomData<(String, f64)>: Freeze, PhantomData<(String, Vec<String>)>: Freeze, PhantomData<(String, Frame)>: Freeze, PhantomData<(String, SketchProfile)>: Freeze, PhantomData<(String, Axis)>: Freeze, PhantomData<(String, Vec<NurbsCurve>)>: Freeze, PhantomData<(String, ScenePoint)>: Freeze, PhantomData<WireHarnessEndpoint>: Freeze, PhantomData<WireHarnessSegment>: Freeze, PhantomData<RouteResult>: Freeze, PhantomData<WireHarnessBundle>: Freeze, PhantomData<PmiViewReport>: Freeze, PhantomData<PortPointRow>: Freeze, PhantomData<(String, bool)>: Freeze, PhantomData<ComponentSnapshot>: Freeze, PhantomData<Value>: Freeze, PhantomData<usize>: Freeze, PhantomData<Bucket<String, Value>>: Freeze, *const LeafNode<String, PartsLibraryEntry> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(String, PartsLibraryEntry)>>: Freeze, *const LeafNode<String, usize> is !null: Freeze, PhantomData<Box<(String, usize)>>: Freeze, PhantomData<ConversionRegionReport>: Freeze, PhantomData<HybridDemotion>: Freeze, PhantomData<ComponentConversionReport>: Freeze, PhantomData<f64>: Freeze, PhantomData<u32>: Freeze, PhantomData<ImportRegion>: Freeze, PhantomData<[f64; 3]>: Freeze, PhantomData<FitAttempt>: Freeze, PhantomData<NurbsFaceOutcome>: Freeze, PhantomData<StepProduct>: Freeze, PhantomData<StepOccurrence>: Freeze, PhantomData<PmiView>: Freeze, PhantomData<(String, u32, BrepSolid)>: Freeze, PhantomData<Vec<[f64; 2]>>: Freeze, PhantomData<ProfileEdge>: Freeze, PhantomData<Vec<Point3>>: Freeze, PhantomData<Column>: Freeze, PhantomData<Motion>: Freeze, PhantomData<Diagnostic>: Freeze, PhantomData<EmptyRegion>: Freeze, PhantomData<ApproximationLimit>: Freeze, PhantomData<(usize, Diagnostic)>: Freeze, PhantomData<Loop>: Freeze, PhantomData<ConstraintEntry>: Freeze, PhantomData<(String, u32)>: Freeze, PhantomData<(String, FaceRef)>: Freeze, PhantomData<(String, EdgeRef)>: Freeze, PhantomData<(String, Vec<Option<String>>)>: Freeze, PhantomData<(String, Vec<Option<Axis>>)>: Freeze, PhantomData<(String, PortRecord)>: Freeze, *const LeafNode<String, ComponentRecord> is !null: Freeze, PhantomData<Box<(String, ComponentRecord)>>: Freeze, *const LeafNode<String, ComponentNamespace> is !null: Freeze, PhantomData<Box<(String, ComponentNamespace)>>: Freeze, PhantomData<(String, Vec<Preparation>)>: Freeze, *const LeafNode<String, Value> is !null: Freeze, PhantomData<Box<(String, Value)>>: Freeze, *const LeafNode<String, bool> is !null: Freeze, PhantomData<Box<(String, bool)>>: Freeze, PhantomData<(u32, BrepSolid)>: Freeze,

§

impl Move for Reply

§

impl Send for Reply
where RawVecInner: Send, RawTable<usize>: Send, RawTable<(usize, ())>: Send, Cell<bool>: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send, NodeRef<Owned, String, [f64; 16], LeafOrInternal>: Send, BoxRaw<(String, [f64; 16])>: Send, NodeRef<Owned, String, PartsLibraryEntry, LeafOrInternal>: Send, BoxRaw<(String, PartsLibraryEntry)>: Send, NodeRef<Owned, String, usize, LeafOrInternal>: Send, BoxRaw<(String, usize)>: Send, Cell<Option<(FaceSetIdentity, MassProperties)>>: Send, BoxRaw<[(f64, Vec3)]>: Send, BoxRaw<[SeedBlock]>: Send, Arc<[f64]>: Send, Arc<[Vec3]>: Send, Arc<[CellBox]>: Send, Arc<[CellTreeNode]>: Send, Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Send, Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Send, Arc<SurfacePatches>: Send, RawTable<(String, u32)>: Send, RawTable<(String, FaceRef)>: Send, RawTable<(String, EdgeRef)>: Send, RawTable<(String, Vec<String>)>: Send, RawTable<(String, SketchProfile)>: Send, RawTable<(String, Frame)>: Send, RawTable<(String, Axis)>: Send, RawTable<(String, Vec<NurbsCurve>)>: Send, RawTable<(String, Vec<Option<String>>)>: Send, RawTable<(String, Vec<Option<Axis>>)>: Send, RawTable<(String, ScenePoint)>: Send, RawTable<(String, PortRecord)>: Send, NodeRef<Owned, String, ComponentRecord, LeafOrInternal>: Send, BoxRaw<(String, ComponentRecord)>: Send, NodeRef<Owned, String, ComponentNamespace, LeafOrInternal>: Send, BoxRaw<(String, ComponentNamespace)>: Send, RawTable<(String, String)>: Send, RawTable<(String, Vec<Preparation>)>: Send, NodeRef<Owned, String, bool, LeafOrInternal>: Send, BoxRaw<(String, bool)>: Send,

§

impl Unpin for Reply
where *const u8 is !null: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, *const LeafNode<String, [f64; 16]> is !null: Unpin, Box<(String, [f64; 16])>: Unpin, *const LeafNode<String, PartsLibraryEntry> is !null: Unpin, Box<(String, PartsLibraryEntry)>: Unpin, *const LeafNode<String, usize> is !null: Unpin, Box<(String, usize)>: Unpin, Box<[(f64, Vec3)]>: Unpin, Box<[SeedBlock]>: Unpin, Arc<[f64]>: Unpin, Arc<[Vec3]>: Unpin, Arc<[CellBox]>: Unpin, Arc<[CellTreeNode]>: Unpin, Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Unpin, Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Unpin, Arc<SurfacePatches>: Unpin, *const LeafNode<String, ComponentRecord> is !null: Unpin, Box<(String, ComponentRecord)>: Unpin, *const LeafNode<String, ComponentNamespace> is !null: Unpin, Box<(String, ComponentNamespace)>: Unpin, *const LeafNode<String, bool> is !null: Unpin, Box<(String, bool)>: Unpin,

§

impl UnsafeUnpin for Reply
where *const u8 is !null: UnsafeUnpin, PhantomData<FeatureRegistration>: UnsafeUnpin, PhantomData<ActionRegistration>: UnsafeUnpin, PhantomData<WorkbenchRegistration>: UnsafeUnpin, PhantomData<PanelRegistration>: UnsafeUnpin, PhantomData<AnnotationRegistration>: UnsafeUnpin, PhantomData<PostRegistration>: UnsafeUnpin, PhantomData<PluginPin>: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, PhantomData<DocumentCommand>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, PhantomData<(String, u32, Option<SolidDisplay>)>: UnsafeUnpin, PhantomData<(String, Value)>: UnsafeUnpin, PhantomData<(String, [f64; 3], Vec<String>)>: UnsafeUnpin, PhantomData<(String, Fulfilment)>: UnsafeUnpin, PhantomData<(String, KernelRefusal, Option<String>)>: UnsafeUnpin, PhantomData<(String, Vec<Approximation>)>: UnsafeUnpin, PhantomData<(String, String)>: UnsafeUnpin, PhantomData<(String, f64)>: UnsafeUnpin, PhantomData<(String, Vec<String>)>: UnsafeUnpin, PhantomData<(String, Frame)>: UnsafeUnpin, PhantomData<(String, SketchProfile)>: UnsafeUnpin, PhantomData<(String, Axis)>: UnsafeUnpin, PhantomData<(String, Vec<NurbsCurve>)>: UnsafeUnpin, PhantomData<(String, ScenePoint)>: UnsafeUnpin, PhantomData<WireHarnessEndpoint>: UnsafeUnpin, PhantomData<WireHarnessSegment>: UnsafeUnpin, PhantomData<RouteResult>: UnsafeUnpin, PhantomData<WireHarnessBundle>: UnsafeUnpin, PhantomData<PmiViewReport>: UnsafeUnpin, PhantomData<PortPointRow>: UnsafeUnpin, PhantomData<(String, bool)>: UnsafeUnpin, PhantomData<ComponentSnapshot>: UnsafeUnpin, PhantomData<Value>: UnsafeUnpin, PhantomData<usize>: UnsafeUnpin, PhantomData<Bucket<String, Value>>: UnsafeUnpin, *const LeafNode<String, PartsLibraryEntry> is !null: UnsafeUnpin, PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin, PhantomData<Box<(String, PartsLibraryEntry)>>: UnsafeUnpin, *const LeafNode<String, usize> is !null: UnsafeUnpin, PhantomData<Box<(String, usize)>>: UnsafeUnpin, PhantomData<ConversionRegionReport>: UnsafeUnpin, PhantomData<HybridDemotion>: UnsafeUnpin, PhantomData<ComponentConversionReport>: UnsafeUnpin, PhantomData<f64>: UnsafeUnpin, PhantomData<u32>: UnsafeUnpin, PhantomData<ImportRegion>: UnsafeUnpin, PhantomData<[f64; 3]>: UnsafeUnpin, PhantomData<FitAttempt>: UnsafeUnpin, PhantomData<NurbsFaceOutcome>: UnsafeUnpin, PhantomData<StepProduct>: UnsafeUnpin, PhantomData<StepOccurrence>: UnsafeUnpin, PhantomData<PmiView>: UnsafeUnpin, PhantomData<(String, u32, BrepSolid)>: UnsafeUnpin, PhantomData<Vec<[f64; 2]>>: UnsafeUnpin, PhantomData<ProfileEdge>: UnsafeUnpin, PhantomData<Vec<Point3>>: UnsafeUnpin, PhantomData<Column>: UnsafeUnpin, PhantomData<Motion>: UnsafeUnpin, PhantomData<Diagnostic>: UnsafeUnpin, PhantomData<EmptyRegion>: UnsafeUnpin, PhantomData<ApproximationLimit>: UnsafeUnpin, PhantomData<(usize, Diagnostic)>: UnsafeUnpin, PhantomData<Loop>: UnsafeUnpin, PhantomData<ConstraintEntry>: UnsafeUnpin, PhantomData<(String, u32)>: UnsafeUnpin, PhantomData<(String, FaceRef)>: UnsafeUnpin, PhantomData<(String, EdgeRef)>: UnsafeUnpin, PhantomData<(String, Vec<Option<String>>)>: UnsafeUnpin, PhantomData<(String, Vec<Option<Axis>>)>: UnsafeUnpin, PhantomData<(String, PortRecord)>: UnsafeUnpin, *const LeafNode<String, ComponentRecord> is !null: UnsafeUnpin, PhantomData<Box<(String, ComponentRecord)>>: UnsafeUnpin, *const LeafNode<String, ComponentNamespace> is !null: UnsafeUnpin, PhantomData<Box<(String, ComponentNamespace)>>: UnsafeUnpin, PhantomData<(String, Vec<Preparation>)>: UnsafeUnpin, *const LeafNode<String, Value> is !null: UnsafeUnpin, PhantomData<Box<(String, Value)>>: UnsafeUnpin, *const LeafNode<String, bool> is !null: UnsafeUnpin, PhantomData<Box<(String, bool)>>: UnsafeUnpin, PhantomData<(u32, BrepSolid)>: UnsafeUnpin,

§

impl UnwindSafe for Reply

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
Source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
Source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,