Enum cosmic_space::hyper::HyperSubstance
source · pub enum HyperSubstance {
Provision(Provision),
Assign(Assign),
Host(HostCmd),
Event(HyperEvent),
Log(Log),
Search(Search),
Discoveries(Discoveries),
}Variants
Provision(Provision)
Assign(Assign)
Host(HostCmd)
Event(HyperEvent)
Log(Log)
Search(Search)
Discoveries(Discoveries)
Trait Implementations
sourceimpl Clone for HyperSubstance
impl Clone for HyperSubstance
sourcefn clone(&self) -> HyperSubstance
fn clone(&self) -> HyperSubstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for HyperSubstance
impl Debug for HyperSubstance
sourceimpl<'de> Deserialize<'de> for HyperSubstance
impl<'de> Deserialize<'de> for HyperSubstance
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HyperSubstance
impl Display for HyperSubstance
sourceimpl From<Assign> for HyperSubstance
impl From<Assign> for HyperSubstance
sourcefn from(f: Assign) -> HyperSubstance
fn from(f: Assign) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<Discoveries> for HyperSubstance
impl From<Discoveries> for HyperSubstance
sourcefn from(f: Discoveries) -> HyperSubstance
fn from(f: Discoveries) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<HostCmd> for HyperSubstance
impl From<HostCmd> for HyperSubstance
sourcefn from(f: HostCmd) -> HyperSubstance
fn from(f: HostCmd) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<HyperEvent> for HyperSubstance
impl From<HyperEvent> for HyperSubstance
sourcefn from(f: HyperEvent) -> HyperSubstance
fn from(f: HyperEvent) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<HyperSubstance> for Substance
impl From<HyperSubstance> for Substance
sourcefn from(f: HyperSubstance) -> Substance
fn from(f: HyperSubstance) -> Substance
Converts to this type from the input type.
sourceimpl From<Log> for HyperSubstance
impl From<Log> for HyperSubstance
sourcefn from(f: Log) -> HyperSubstance
fn from(f: Log) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<Provision> for HyperSubstance
impl From<Provision> for HyperSubstance
sourcefn from(f: Provision) -> HyperSubstance
fn from(f: Provision) -> HyperSubstance
Converts to this type from the input type.
sourceimpl From<Search> for HyperSubstance
impl From<Search> for HyperSubstance
sourcefn from(f: Search) -> HyperSubstance
fn from(f: Search) -> HyperSubstance
Converts to this type from the input type.
sourceimpl PartialEq<HyperSubstance> for HyperSubstance
impl PartialEq<HyperSubstance> for HyperSubstance
sourcefn eq(&self, other: &HyperSubstance) -> bool
fn eq(&self, other: &HyperSubstance) -> bool
sourceimpl Serialize for HyperSubstance
impl Serialize for HyperSubstance
sourceimpl ToSubstance<HyperSubstance> for Substance
impl ToSubstance<HyperSubstance> for Substance
fn to_substance(self) -> Result<HyperSubstance, SpaceErr>
fn to_substance_ref(&self) -> Result<&HyperSubstance, SpaceErr>
sourceimpl TryInto<Assign> for HyperSubstance
impl TryInto<Assign> for HyperSubstance
sourceimpl TryInto<Discoveries> for HyperSubstance
impl TryInto<Discoveries> for HyperSubstance
sourceimpl TryInto<HostCmd> for HyperSubstance
impl TryInto<HostCmd> for HyperSubstance
sourceimpl TryInto<HyperEvent> for HyperSubstance
impl TryInto<HyperEvent> for HyperSubstance
sourceimpl TryInto<HyperSubstance> for Substance
impl TryInto<HyperSubstance> for Substance
sourceimpl TryInto<Log> for HyperSubstance
impl TryInto<Log> for HyperSubstance
sourceimpl TryInto<Provision> for HyperSubstance
impl TryInto<Provision> for HyperSubstance
sourceimpl TryInto<Search> for HyperSubstance
impl TryInto<Search> for HyperSubstance
impl Eq for HyperSubstance
impl StructuralEq for HyperSubstance
impl StructuralPartialEq for HyperSubstance
Auto Trait Implementations
impl RefUnwindSafe for HyperSubstance
impl Send for HyperSubstance
impl Sync for HyperSubstance
impl Unpin for HyperSubstance
impl UnwindSafe for HyperSubstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more