pub struct Available { /* private fields */ }Expand description
What this deployment can actually reach.
A separate argument to plan_registration rather than something it reads
off the identity, because the two fail independently: a client can publish
a document to a URL that resolves nowhere, and a deployment can wire a
dynamic registrar while its client has no metadata to present. Planning on
one and discovering the other during execution is how a client ends up
explaining a failure it could have refused to start.
Implementations§
Source§impl Available
impl Available
Sourcepub const fn dynamic_only() -> Self
pub const fn dynamic_only() -> Self
Only RFC 7591 dynamic registration.
Sourcepub const fn metadata_document_only() -> Self
pub const fn metadata_document_only() -> Self
Only Client ID Metadata Documents.
Sourcepub const fn metadata_document(self) -> bool
pub const fn metadata_document(self) -> bool
Whether a metadata document can be fetched.
Trait Implementations§
impl Copy for Available
impl Eq for Available
impl StructuralPartialEq for Available
Auto Trait Implementations§
impl Freeze for Available
impl RefUnwindSafe for Available
impl Send for Available
impl Sync for Available
impl Unpin for Available
impl UnsafeUnpin for Available
impl UnwindSafe for Available
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