Lines Matching refs:includes
234 pub fn includes<T: Into<KeyPermSet>>(&self, other: T) -> bool { in includes() method
298 if access_vec.includes(KeyPerm::Grant) { in check_grant_permission()
346 if access_vector.includes(perm) { in check_key_permission()
778 assert!(v1.includes(v2)); in key_perm_set_include_subset_test()
779 assert!(!v2.includes(v1)); in key_perm_set_include_subset_test()
797 assert!(v1.includes(v2)); in key_perm_set_include_equal_test()
798 assert!(v2.includes(v1)); in key_perm_set_include_equal_test()
818 assert!(!v1.includes(v2)); in key_perm_set_include_overlap_test()
819 assert!(!v2.includes(v1)); in key_perm_set_include_overlap_test()
826 assert!(!v1.includes(v2)); in key_perm_set_include_no_overlap_test()
827 assert!(!v2.includes(v1)); in key_perm_set_include_no_overlap_test()