Lines Matching refs:CompareResult
633 pub enum CompareResult { enum
645 fn compare(&self, t: T) -> CompareResult; in compare() argument
653 fn compare_no_case(&self, t: T) -> CompareResult; in compare_no_case() argument
658 fn compare(&self, t: &'b [u8]) -> CompareResult { in compare() argument
662 Some(_) => CompareResult::Error, in compare()
665 CompareResult::Ok in compare()
667 CompareResult::Incomplete in compare()
690 fn compare_no_case(&self, t: &'b [u8]) -> CompareResult { in compare_no_case() argument
702 CompareResult::Error in compare_no_case()
704 CompareResult::Incomplete in compare_no_case()
706 CompareResult::Ok in compare_no_case()
713 fn compare(&self, t: &'b str) -> CompareResult { in compare() argument
717 fn compare_no_case(&self, t: &'b str) -> CompareResult { in compare_no_case() argument
724 fn compare(&self, t: &'b str) -> CompareResult { in compare() argument
728 Some(_) => CompareResult::Error, in compare()
731 CompareResult::Ok in compare()
733 CompareResult::Incomplete in compare()
741 fn compare_no_case(&self, t: &'b str) -> CompareResult { in compare_no_case() argument
748 Some(_) => CompareResult::Error, in compare_no_case()
751 CompareResult::Ok in compare_no_case()
753 CompareResult::Incomplete in compare_no_case()
955 fn compare(&self, t: [u8; $N]) -> CompareResult {
960 fn compare_no_case(&self, t: [u8;$N]) -> CompareResult {
967 fn compare(&self, t: &'b [u8; $N]) -> CompareResult {
972 fn compare_no_case(&self, t: &'b [u8;$N]) -> CompareResult {