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 +372,14 @@ public enum ResultConvention : CustomStringConvertible {
358
372
/// The caller is responsible for destroying this return value. Its type is non-trivial.
359
373
case owned
360
374
375
+
/// The caller is responsible for using the returned address within a valid
376
+
/// scope. This is valid only for borrow and mutate accessors.
377
+
case guaranteedAddress
378
+
379
+
/// The caller is responsible for using the returned value within a valid
380
+
/// scope. This is valid only for borrow accessors.
381
+
case guaranteed
382
+
361
383
/// 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
384
case unowned
363
385
@@ -397,6 +419,10 @@ public enum ResultConvention : CustomStringConvertible {
0 commit comments