pub enum RegistrationDecl {
Resolver(ResolverRegistration),
Runner(RunnerRegistration),
Debug(DebugProtocolRegistration),
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(DebugProtocolRegistration)
Directory(StorageDeclAsRegistration)
Trait Implementations§
Source§impl Clone for RegistrationDecl
impl Clone for RegistrationDecl
Source§fn clone(&self) -> RegistrationDecl
fn clone(&self) -> RegistrationDecl
Returns a duplicate 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<DebugProtocolRegistration> for RegistrationDecl
impl From<DebugProtocolRegistration> for RegistrationDecl
Source§fn from(f: DebugProtocolRegistration) -> Self
fn from(f: DebugProtocolRegistration) -> 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 DebugProtocolRegistration
impl FromEnum<RegistrationDecl> for DebugProtocolRegistration
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§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more