pub enum Unenforceable {
Refuse,
Accept,
}Expand description
Whether to refuse CLP features parse-rust validates but does not enforce.
The 0.2.0 milestone excludes readUserFields, writeUserFields and userField: protected
fields. Accepting a block that configures them and then not honoring it is the failure mode
worth avoiding: a class would report itself as restricted while serving every row. So the
default posture is to refuse the write, on the same rule that makes an unsupported query
constraint an error rather than a silent no-op.
Variants§
Refuse
Refuse the block. COMMAND_UNAVAILABLE (108), naming the key.
Accept
Accept exactly what upstream accepts. For reading a block already in the database, and for the day the feature lands.
Trait Implementations§
Source§impl Clone for Unenforceable
impl Clone for Unenforceable
Source§fn clone(&self) -> Unenforceable
fn clone(&self) -> Unenforceable
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 Unenforceable
Source§impl Debug for Unenforceable
impl Debug for Unenforceable
impl Eq for Unenforceable
Source§impl PartialEq for Unenforceable
impl PartialEq for Unenforceable
impl StructuralPartialEq for Unenforceable
Auto Trait Implementations§
impl Freeze for Unenforceable
impl RefUnwindSafe for Unenforceable
impl Send for Unenforceable
impl Sync for Unenforceable
impl Unpin for Unenforceable
impl UnsafeUnpin for Unenforceable
impl UnwindSafe for Unenforceable
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.