pub enum MethodAllowList<'a> {
All,
Selected(&'a [Method]),
}
Expand description
The allowed methods.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MethodAllowList<'a>
impl<'a> RefUnwindSafe for MethodAllowList<'a>
impl<'a> Send for MethodAllowList<'a>
impl<'a> Sync for MethodAllowList<'a>
impl<'a> Unpin for MethodAllowList<'a>
impl<'a> UnwindSafe for MethodAllowList<'a>
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