pub struct DevIdentity;Expand description
Believe whatever the client says. The behaviour every phase before this had.
It is the right default for beck run on a laptop and for the corpus harnesses, and it is
wrong for anything reachable by a stranger — which is why it now has a name, a kind() that
says “dev”, and a verifies() that says no.
Trait Implementations§
Source§impl Clone for DevIdentity
impl Clone for DevIdentity
Source§fn clone(&self) -> DevIdentity
fn clone(&self) -> DevIdentity
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 DevIdentity
impl Debug for DevIdentity
Source§impl Default for DevIdentity
impl Default for DevIdentity
Source§fn default() -> DevIdentity
fn default() -> DevIdentity
Returns the “default value” for a type. Read more
Source§impl Identity for DevIdentity
impl Identity for DevIdentity
Source§fn verify(&self, claim: &str) -> Result<Actor, Rejected>
fn verify(&self, claim: &str) -> Result<Actor, Rejected>
Verify what a client said about itself. Read more
impl Copy for DevIdentity
Auto Trait Implementations§
impl Freeze for DevIdentity
impl RefUnwindSafe for DevIdentity
impl Send for DevIdentity
impl Sync for DevIdentity
impl Unpin for DevIdentity
impl UnwindSafe for DevIdentity
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