Lines Matching refs:expect
102 let num1: i32 = data.read().expect("Failed to read num1 in addition operation");
103 let num2: i32 = data.read().expect("Failed to read num2 in addition operation");
109 let num1: i32 = data.read().expect("Failed to read num1 in subtraction operation");
110 let num2: i32 = data.read().expect("Failed to read num1 in subtraction operation");
116 let num1: i32 = data.read().expect("Failed to read num1 in multiplication operation");
117 let num2: i32 = data.read().expect("Failed to read num1 in multiplication operation");
123 let num1: i32 = data.read().expect("Failed to read num1 in division operation");
124 let num2: i32 = data.read().expect("Failed to read num1 in division operation");
157 let mut data = MsgParcel::new().expect("MsgParcel should success");
162 let ret: i32 = reply.read().expect("need reply i32");
166 let mut data = MsgParcel::new().expect("MsgParcel should success");
171 let ret: i32 = reply.read().expect("need reply i32");
175 let mut data = MsgParcel::new().expect("MsgParcel should success");
180 let ret: i32 = reply.read().expect("need reply i32");
184 let mut data = MsgParcel::new().expect("MsgParcel should success");
189 let ret: i32 = reply.read().expect("need reply i32");