pub enum Source {
Provider,
Generated,
Default,
Composed,
Unrecognized,
}Expand description
Where a resolved value came from.
Provenance, not an authorization input. The set is closed for the
resolver and open for the client, under the same rule as
crate::error::ErrorKind: a later revision naming a new origin, such
as a dynamically issued credential, must not kill a session with an
older client. A client that treats provenance as security-relevant reads
Source::Unrecognized as “not one of the origins I can vouch for” and
decides accordingly, which it could not do if the frame failed to parse.
Variants§
Provider
Generated
Default
Composed
Unrecognized
An origin this revision does not define. A resolver never sends it.
Implementations§
Trait Implementations§
impl Copy for Source
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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