pub enum PortalStatus {
None,
Initializing,
Ready,
Panic(String),
}Variants
None
Initializing
Ready
Panic(String)
Trait Implementations
sourceimpl Clone for PortalStatus
impl Clone for PortalStatus
sourcefn clone(&self) -> PortalStatus
fn clone(&self) -> PortalStatus
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 more
sourceimpl Hash for PortalStatus
impl Hash for PortalStatus
sourceimpl PartialEq<PortalStatus> for PortalStatus
impl PartialEq<PortalStatus> for PortalStatus
sourcefn eq(&self, other: &PortalStatus) -> bool
fn eq(&self, other: &PortalStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PortalStatus) -> bool
fn ne(&self, other: &PortalStatus) -> bool
This method tests for !=.
impl Eq for PortalStatus
impl StructuralEq for PortalStatus
impl StructuralPartialEq for PortalStatus
Auto Trait Implementations
impl RefUnwindSafe for PortalStatus
impl Send for PortalStatus
impl Sync for PortalStatus
impl Unpin for PortalStatus
impl UnwindSafe for PortalStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub 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<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
pub fn recreate_context(_original_input: I, tail: I) -> I
pub 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more