pub enum HostScopeError {
InvalidHost(HostNormalizationError),
NotHns,
OutOfScope,
}Variants§
Trait Implementations§
Source§impl Clone for HostScopeError
impl Clone for HostScopeError
Source§fn clone(&self) -> HostScopeError
fn clone(&self) -> HostScopeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostScopeError
Source§impl Debug for HostScopeError
impl Debug for HostScopeError
Source§impl Display for HostScopeError
impl Display for HostScopeError
impl Eq for HostScopeError
Source§impl Error for HostScopeError
impl Error for HostScopeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<HostNormalizationError> for HostScopeError
impl From<HostNormalizationError> for HostScopeError
Source§fn from(source: HostNormalizationError) -> Self
fn from(source: HostNormalizationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HostScopeError
impl PartialEq for HostScopeError
impl StructuralPartialEq for HostScopeError
Auto Trait Implementations§
impl Freeze for HostScopeError
impl RefUnwindSafe for HostScopeError
impl Send for HostScopeError
impl Sync for HostScopeError
impl Unpin for HostScopeError
impl UnsafeUnpin for HostScopeError
impl UnwindSafe for HostScopeError
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> 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
Mutably borrows from an owned value. Read more