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
fn from_enum(e: &RegistrationDecl) -> Option<&Self>
Source§impl FromEnum<RegistrationDecl> for ResolverRegistration
impl FromEnum<RegistrationDecl> for ResolverRegistration
fn from_enum(e: &RegistrationDecl) -> Option<&Self>
Source§impl FromEnum<RegistrationDecl> for RunnerRegistration
impl FromEnum<RegistrationDecl> for RunnerRegistration
fn from_enum(e: &RegistrationDecl) -> Option<&Self>
Source§impl FromEnum<RegistrationDecl> for StorageDeclAsRegistration
impl FromEnum<RegistrationDecl> for StorageDeclAsRegistration
fn from_enum(e: &RegistrationDecl) -> Option<&Self>
Source§impl PartialEq for RegistrationDecl
impl PartialEq for RegistrationDecl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)