#[non_exhaustive]pub enum VerifyTransport {
Auto,
Tsp,
Didcomm,
Https,
}Expand description
Which Trust Registry binding the verify-trust workflow uses — the
action’s transport input.
Auto (the default) is verify-trust’s strict preference: TSP, then
DIDComm, then HTTPS, whichever the registry’s DID document advertises,
with no fallback when the chosen one fails. A community whose registry
mediator does not yet admit a CI run’s throwaway DID pins Https.
A closed set, so a value can be written into a workflow as-is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Strict preference: TSP, then DIDComm, then HTTPS.
Tsp
TSP only.
Didcomm
DIDComm only.
Https
HTTPS (the registry’s #rest endpoint) only.
Implementations§
Source§impl VerifyTransport
impl VerifyTransport
Sourcepub fn workflow_input_line(self, indent: &str) -> String
pub fn workflow_input_line(self, indent: &str) -> String
The workflow’s transport: input line (indented for the action’s
with: block), or nothing for the default — so a workflow written
before this option existed is unchanged byte for byte.
Trait Implementations§
Source§impl Clone for VerifyTransport
impl Clone for VerifyTransport
impl Copy for VerifyTransport
Source§impl Debug for VerifyTransport
impl Debug for VerifyTransport
Source§impl Default for VerifyTransport
impl Default for VerifyTransport
Source§impl<'de> Deserialize<'de> for VerifyTransport
impl<'de> Deserialize<'de> for VerifyTransport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VerifyTransport
impl Display for VerifyTransport
impl Eq for VerifyTransport
Source§impl Hash for VerifyTransport
impl Hash for VerifyTransport
Source§impl PartialEq for VerifyTransport
impl PartialEq for VerifyTransport
Source§impl Serialize for VerifyTransport
impl Serialize for VerifyTransport
impl StructuralPartialEq for VerifyTransport
Auto Trait Implementations§
impl Freeze for VerifyTransport
impl RefUnwindSafe for VerifyTransport
impl Send for VerifyTransport
impl Sync for VerifyTransport
impl Unpin for VerifyTransport
impl UnsafeUnpin for VerifyTransport
impl UnwindSafe for VerifyTransport
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