pub struct Proven { /* private fields */ }Expand description
A principal (key:<hex>) whose key signed a proof a verifier checked.
No constructor from a string: KeyedUpgrade::verify makes it.
ⓘ
// A string is not a proof: there is no way to write one.
let p = plexus_core::plexus::remote_child::Proven { principal: "key:00".into() };ⓘ
let p: plexus_core::plexus::remote_child::Proven = "key:00".to_string().into();Not Clone: it is the proof of one socket’s upgrade, consumed by serving
that socket (super::serve_child_proven).
Implementations§
Trait Implementations§
impl Eq for Proven
impl StructuralPartialEq for Proven
Auto Trait Implementations§
impl Forget for Proven
impl Freeze for Proven
impl Move for Proven
impl RefUnwindSafe for Proven
impl Send for Proven
impl Sync for Proven
impl Unpin for Proven
impl UnsafeUnpin for Proven
impl UnwindSafe for Proven
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.