pub struct FfiQueryDescriptor<'a>(pub PathQueryDescriptor<'a>);
Tuple Fields§
§0: PathQueryDescriptor<'a>
Trait Implementations§
Source§impl<'a> Clone for FfiQueryDescriptor<'a>
impl<'a> Clone for FfiQueryDescriptor<'a>
Source§fn clone(&self) -> FfiQueryDescriptor<'a>
fn clone(&self) -> FfiQueryDescriptor<'a>
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<'a> Debug for FfiQueryDescriptor<'a>
impl<'a> Debug for FfiQueryDescriptor<'a>
Source§impl<'a> PartialEq for FfiQueryDescriptor<'a>
impl<'a> PartialEq for FfiQueryDescriptor<'a>
Source§impl QueryDescriptor for FfiQueryDescriptor<'_>
impl QueryDescriptor for FfiQueryDescriptor<'_>
type AllowDesc = FfiDescriptor
type DenyDesc = FfiDescriptor
fn flag_name() -> &'static str
fn display_name(&self) -> Cow<'_, str>
fn from_allow(allow: &Self::AllowDesc) -> Self
fn as_allow(&self) -> Option<Self::AllowDesc>
fn as_deny(&self) -> Self::DenyDesc
Source§fn check_in_permission(
&self,
perm: &mut UnaryPermission<Self::AllowDesc, Self::DenyDesc>,
api_name: Option<&str>,
) -> Result<(), PermissionDeniedError>
fn check_in_permission( &self, perm: &mut UnaryPermission<Self::AllowDesc, Self::DenyDesc>, api_name: Option<&str>, ) -> Result<(), PermissionDeniedError>
Generic check function to check this descriptor against a
UnaryPermission
.fn matches_allow(&self, other: &Self::AllowDesc) -> bool
fn matches_deny(&self, other: &Self::DenyDesc) -> bool
Source§fn revokes(&self, other: &Self::AllowDesc) -> bool
fn revokes(&self, other: &Self::AllowDesc) -> bool
Gets if this query descriptor should revoke the provided allow descriptor.
fn stronger_than_deny(&self, other: &Self::DenyDesc) -> bool
fn overlaps_deny(&self, other: &Self::DenyDesc) -> bool
impl<'a> Eq for FfiQueryDescriptor<'a>
impl<'a> StructuralPartialEq for FfiQueryDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for FfiQueryDescriptor<'a>
impl<'a> RefUnwindSafe for FfiQueryDescriptor<'a>
impl<'a> Send for FfiQueryDescriptor<'a>
impl<'a> Sync for FfiQueryDescriptor<'a>
impl<'a> Unpin for FfiQueryDescriptor<'a>
impl<'a> UnwindSafe for FfiQueryDescriptor<'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