You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -358,6 +358,14 @@ public enum ResultConvention : CustomStringConvertible {
358
358
/// The caller is responsible for destroying this return value. Its type is non-trivial.
359
359
case owned
360
360
361
+
/// The caller is responsible for using the returned address within a valid
362
+
/// scope. This is valid only for borrow and mutate accessors.
363
+
case guaranteedAddress
364
+
365
+
/// The caller is responsible for using the returned value within a valid
366
+
/// scope. This is valid only for borrow accessors.
367
+
case guaranteed
368
+
361
369
/// The caller is not responsible for destroying this return value. Its type may be trivial, or it may simply be offered unsafely. It is valid at the instant of the return, but further operations may invalidate it.
362
370
case unowned
363
371
@@ -397,6 +405,10 @@ public enum ResultConvention : CustomStringConvertible {
0 commit comments