We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 774016d + c516805 commit 86c914cCopy full SHA for 86c914c
postgres-types/src/lib.rs
@@ -1083,6 +1083,23 @@ impl BorrowToSql for &dyn ToSql {
1083
}
1084
1085
1086
+impl sealed::Sealed for Box<dyn ToSql + Sync> {}
1087
+
1088
+impl BorrowToSql for Box<dyn ToSql + Sync> {
1089
+ #[inline]
1090
+ fn borrow_to_sql(&self) -> &dyn ToSql {
1091
+ self.as_ref()
1092
+ }
1093
+}
1094
1095
+impl sealed::Sealed for Box<dyn ToSql + Sync + Send> {}
1096
+impl BorrowToSql for Box<dyn ToSql + Sync + Send> {
1097
1098
1099
1100
1101
1102
1103
impl sealed::Sealed for &(dyn ToSql + Sync) {}
1104
1105
/// In async contexts it is sometimes necessary to have the additional
0 commit comments