pub enum RequestPolicy {
AllowNone,
AllowAll,
AllowList,
}Expand description
RNS 1.4.2 Destination.ALLOW_NONE / ALLOW_ALL / ALLOW_LIST. AllowNone is the reference’s registration default: the handler exists but answers no one until the policy says otherwise.
Variants§
Trait Implementations§
Source§impl Clone for RequestPolicy
impl Clone for RequestPolicy
Source§fn clone(&self) -> RequestPolicy
fn clone(&self) -> RequestPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestPolicy
Source§impl Debug for RequestPolicy
impl Debug for RequestPolicy
impl Eq for RequestPolicy
Source§impl PartialEq for RequestPolicy
impl PartialEq for RequestPolicy
impl StructuralPartialEq for RequestPolicy
Auto Trait Implementations§
impl Freeze for RequestPolicy
impl RefUnwindSafe for RequestPolicy
impl Send for RequestPolicy
impl Sync for RequestPolicy
impl Unpin for RequestPolicy
impl UnsafeUnpin for RequestPolicy
impl UnwindSafe for RequestPolicy
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