pub struct AdmitAll;Expand description
The default policy: everything is admitted (localhost/dev shape).
Trait Implementations§
Source§impl SubmitPolicy for AdmitAll
impl SubmitPolicy for AdmitAll
Source§fn check(&mut self, _sub: &Submission) -> Result<(), String>
fn check(&mut self, _sub: &Submission) -> Result<(), String>
Accepts or rejects a submission. Runs on the writer thread, so a
stateful policy (e.g. one holding a cached materialized view) sees
submissions in their final total order. Read more
Auto Trait Implementations§
impl Freeze for AdmitAll
impl RefUnwindSafe for AdmitAll
impl Send for AdmitAll
impl Sync for AdmitAll
impl Unpin for AdmitAll
impl UnsafeUnpin for AdmitAll
impl UnwindSafe for AdmitAll
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