pub enum WriterCheck {
Refuse,
Warn,
}Expand description
What a write from a scope that is not one of a path’s writers gets.
Variants§
Refuse
Refused, with a diagnostic (the default).
Warn
Applied, with a warning: to migrate plugins written before the check.
Trait Implementations§
Source§impl Clone for WriterCheck
impl Clone for WriterCheck
Source§fn clone(&self) -> WriterCheck
fn clone(&self) -> WriterCheck
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 WriterCheck
impl Debug for WriterCheck
Source§impl Default for WriterCheck
impl Default for WriterCheck
Source§fn default() -> WriterCheck
fn default() -> WriterCheck
Returns the “default value” for a type. Read more
Source§impl PartialEq for WriterCheck
impl PartialEq for WriterCheck
Source§impl Serialize for WriterCheck
impl Serialize for WriterCheck
impl Copy for WriterCheck
impl Eq for WriterCheck
impl StructuralPartialEq for WriterCheck
Auto Trait Implementations§
impl Freeze for WriterCheck
impl RefUnwindSafe for WriterCheck
impl Send for WriterCheck
impl Sync for WriterCheck
impl Unpin for WriterCheck
impl UnsafeUnpin for WriterCheck
impl UnwindSafe for WriterCheck
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