Enum routing::RegistrationDecl
source · pub enum RegistrationDecl {
Resolver(ResolverRegistration),
Runner(RunnerRegistration),
Debug(DebugRegistration),
Directory(StorageDeclAsRegistration),
}
Expand description
An umbrella type for registration decls, making it more convenient to record route maps for debug use.
Variants§
Resolver(ResolverRegistration)
Runner(RunnerRegistration)
Debug(DebugRegistration)
Directory(StorageDeclAsRegistration)
Trait Implementations§
source§impl Clone for RegistrationDecl
impl Clone for RegistrationDecl
source§fn clone(&self) -> RegistrationDecl
fn clone(&self) -> RegistrationDecl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegistrationDecl
impl Debug for RegistrationDecl
source§impl From<&RegistrationDecl> for CapabilityTypeName
impl From<&RegistrationDecl> for CapabilityTypeName
source§fn from(registration: &RegistrationDecl) -> Self
fn from(registration: &RegistrationDecl) -> Self
Converts to this type from the input type.
source§impl From<DebugRegistration> for RegistrationDecl
impl From<DebugRegistration> for RegistrationDecl
source§fn from(f: DebugRegistration) -> Self
fn from(f: DebugRegistration) -> Self
Converts to this type from the input type.
source§impl From<ResolverRegistration> for RegistrationDecl
impl From<ResolverRegistration> for RegistrationDecl
source§fn from(f: ResolverRegistration) -> Self
fn from(f: ResolverRegistration) -> Self
Converts to this type from the input type.
source§impl From<RunnerRegistration> for RegistrationDecl
impl From<RunnerRegistration> for RegistrationDecl
source§fn from(f: RunnerRegistration) -> Self
fn from(f: RunnerRegistration) -> Self
Converts to this type from the input type.
source§impl From<StorageDeclAsRegistration> for RegistrationDecl
impl From<StorageDeclAsRegistration> for RegistrationDecl
source§fn from(f: StorageDeclAsRegistration) -> Self
fn from(f: StorageDeclAsRegistration) -> Self
Converts to this type from the input type.
source§impl FromEnum<RegistrationDecl> for DebugRegistration
impl FromEnum<RegistrationDecl> for DebugRegistration
source§impl PartialEq for RegistrationDecl
impl PartialEq for RegistrationDecl
source§fn eq(&self, other: &RegistrationDecl) -> bool
fn eq(&self, other: &RegistrationDecl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegistrationDecl
impl StructuralPartialEq for RegistrationDecl
Auto Trait Implementations§
impl Freeze for RegistrationDecl
impl RefUnwindSafe for RegistrationDecl
impl Send for RegistrationDecl
impl Sync for RegistrationDecl
impl Unpin for RegistrationDecl
impl UnwindSafe for RegistrationDecl
Blanket Implementations§
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