pub enum Decision {
Allow,
Unauthorized,
Hidden,
}Variants§
Allow
401: no live credential where one is needed, whether or not the package exists, so an anonymous caller learns nothing about a directory.
Hidden
404, the answer for a package that does not exist, so a key holder cannot learn what an ungranted directory holds.
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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