GithubHelp home page GithubHelp logo

debil-mysql's Introduction

debil-mysql debil-mysql at crates.io

MySQL implementation for debil

debil-mysql's People

Contributors

myuon avatar

Stargazers

Rust avatar

Watchers

James Cloos avatar  avatar

debil-mysql's Issues

`*mut (dyn std::ops::Fn() + 'static)` cannot be shared between threads safely

error[E0277]: `*mut (dyn std::ops::Fn() + 'static)` cannot be shared between threads safely
   --> tests/custom_impl_table.rs:62:5           
    |                                       
62  |     std::thread::spawn(async move || {           
    |     ^^^^^^^^^^^^^^^^^^ `*mut (dyn std::ops::Fn() + 'static)` cannot be shared between threads safely
    |                                                                       
    = help: within `core::fmt::Void`, the trait `std::marker::Sync` is not implemented for `*mut (dyn std::ops::Fn() + 'static)`
    = note: required because it appears within the type `std::marker::PhantomData<*mut (dyn std::ops::Fn() + 'static)>`
    = note: required because it appears within the type `core::fmt::Void`
    = note: required because of the requirements on the impl of `std::marker::Send` for `&core::fmt::Void`
    = note: required because it appears within the type `std::fmt::ArgumentV1<'_>`
    = note: required because it appears within the type `[std::fmt::ArgumentV1<'_>; 2]`
    = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, '$
35, 't36> {&'r mut debil_mysql::conn::DebilConn, std::vec::Vec<(std::string::String, std::string::String, debil::types::FieldAttribute)>, &'s mut debil_mysql::conn::DebilConn, &'t0 mut debil_mysql::conn::DebilConn, for<'t37> fn(std::fmt::Arguments<'t37>) -> std::string:$
String {std::fmt::format}, fn(&'t1 [&'t1 str], &'t1 [std::fmt::ArgumentV1<'t1>]) -> std::fmt::Arguments<'t1> {std::fmt::Arguments::<'t1>::new_v1}, &'t2 str, &'t3 str, [&'t4 str; 3], &'t5 [&'t6 str], &'t7 [&'t8 str; 3], &'t9 [(std::string::String, std::string::String, de$
il::types::FieldAttribute)], std::vec::Vec<(std::string::String, std::string::String, debil::types::FieldAttribute)>, std::slice::Iter<'t10, (std::string::String, std::string::String, debil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{i$
pl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1])], std::iter::Map<std::slice::Iter<'t13, (std::string::String, std::string::String, debil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1]$
]>, &'t16 std::vec::Vec<&'t17 str>, std::vec::Vec<&'t18 str>, &'t19 [&'t20 str], &'t21 [&'t22 str], &'t23 str, &'t24 str, std::string::String, &'t25 std::string::String, fn(std::marker::PhantomData<R>) -> std::string::String {<R as debil::types::SQLTable>::table_name}, $
td::marker::PhantomData<R>, std::string::String, &'t26 std::string::String, (&'t27 std::string::String, &'t28 std::string::String), [std::fmt::ArgumentV1<'t29>; 2], &'t30 [std::fmt::ArgumentV1<'t31>], &'t32 [std::fmt::ArgumentV1<'t33>; 2], std::fmt::Arguments<'t34>, std$
:string::String, mysql_common::params::Params, impl std::future::Future, impl std::future::Future, ()}`
    = note: required because it appears within the type `[static generator@DefId(17:73 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]) 0:&mut debil_mysql::conn::DebilConn for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12$
 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36> {&'r mut debil_mysql::conn::DebilConn, std::vec::Vec<(std::string::String, std::string::String, debil::types::FieldAttribute)$
, &'s mut debil_mysql::conn::DebilConn, &'t0 mut debil_mysql::conn::DebilConn, for<'t37> fn(std::fmt::Arguments<'t37>) -> std::string::String {std::fmt::format}, fn(&'t1 [&'t1 str], &'t1 [std::fmt::ArgumentV1<'t1>]) -> std::fmt::Arguments<'t1> {std::fmt::Arguments::<'t1>
::new_v1}, &'t2 str, &'t3 str, [&'t4 str; 3], &'t5 [&'t6 str], &'t7 [&'t8 str; 3], &'t9 [(std::string::String, std::string::String, debil::types::FieldAttribute)], std::vec::Vec<(std::string::String, std::string::String, debil::types::FieldAttribute)>, std::slice::Iter<'
t10, (std::string::String, std::string::String, debil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1])], std::iter::Map<std::slice::Iter<'t13, (std::string::String, std::string::String, de
bil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1])]>, &'t16 std::vec::Vec<&'t17 str>, std::vec::Vec<&'t18 str>, &'t19 [&'t20 str], &'t21 [&'t22 str], &'t23 str, &'t24 str, std::string::S
tring, &'t25 std::string::String, fn(std::marker::PhantomData<R>) -> std::string::String {<R as debil::types::SQLTable>::table_name}, std::marker::PhantomData<R>, std::string::String, &'t26 std::string::String, (&'t27 std::string::String, &'t28 std::string::String), [std
::fmt::ArgumentV1<'t29>; 2], &'t30 [std::fmt::ArgumentV1<'t31>], &'t32 [std::fmt::ArgumentV1<'t33>; 2], std::fmt::Arguments<'t34>, std::string::String, mysql_common::params::Params, impl std::future::Future, impl std::future::Future, ()}]`
    = note: required because it appears within the type `std::future::GenFuture<[static generator@DefId(17:73 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]) 0:&mut debil_mysql::conn::DebilConn for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8,
 't9, 't10, 't11, 't12, 't13, 't14, 't15, 't16, 't17, 't18, 't19, 't20, 't21, 't22, 't23, 't24, 't25, 't26, 't27, 't28, 't29, 't30, 't31, 't32, 't33, 't34, 't35, 't36> {&'r mut debil_mysql::conn::DebilConn, std::vec::Vec<(std::string::String, std::string::String, debil::
types::FieldAttribute)>, &'s mut debil_mysql::conn::DebilConn, &'t0 mut debil_mysql::conn::DebilConn, for<'t37> fn(std::fmt::Arguments<'t37>) -> std::string::String {std::fmt::format}, fn(&'t1 [&'t1 str], &'t1 [std::fmt::ArgumentV1<'t1>]) -> std::fmt::Arguments<'t1> {std
::fmt::Arguments::<'t1>::new_v1}, &'t2 str, &'t3 str, [&'t4 str; 3], &'t5 [&'t6 str], &'t7 [&'t8 str; 3], &'t9 [(std::string::String, std::string::String, debil::types::FieldAttribute)], std::vec::Vec<(std::string::String, std::string::String, debil::types::FieldAttribut
e)>, std::slice::Iter<'t10, (std::string::String, std::string::String, debil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1])], std::iter::Map<std::slice::Iter<'t13, (std::string::String,
std::string::String, debil::types::FieldAttribute)>, [closure@DefId(17:94 ~ debil_mysql[b7be]::conn[0]::{{impl}}[0]::first[0]::{{closure}}[0]::{{closure}}[1])]>, &'t16 std::vec::Vec<&'t17 str>, std::vec::Vec<&'t18 str>, &'t19 [&'t20 str], &'t21 [&'t22 str], &'t23 str, &'
t24 str, std::string::String, &'t25 std::string::String, fn(std::marker::PhantomData<R>) -> std::string::String {<R as debil::types::SQLTable>::table_name}, std::marker::PhantomData<R>, std::string::String, &'t26 std::string::String, (&'t27 std::string::String, &'t28 std
::string::String), [std::fmt::ArgumentV1<'t29>; 2], &'t30 [std::fmt::ArgumentV1<'t31>], &'t32 [std::fmt::ArgumentV1<'t33>; 2], std::fmt::Arguments<'t34>, std::string::String, mysql_common::params::Params, impl std::future::Future, impl std::future::Future, ()}]>`
    = note: required because it appears within the type `impl std::future::Future`
    = note: required because it appears within the type `impl std::future::Future`
    = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3> {&'r mut debil_mysql::conn::DebilConn, debil_mysql::conn::DebilConn, impl std::future::Future, impl std::future::Future, (), &'t1 mut debil_mysql::conn::DebilConn, debil_mysql::conn:
:DebilConn, impl std::future::Future, impl std::future::Future, ()}`
    = note: required because it appears within the type `[static generator@tests/custom_impl_table.rs:62:38: 65:6 conn:debil_mysql::conn::DebilConn for<'r, 's, 't0, 't1, 't2, 't3> {&'r mut debil_mysql::conn::DebilConn, debil_mysql::conn::DebilConn, impl std::future::Futu
re, impl std::future::Future, (), &'t1 mut debil_mysql::conn::DebilConn, debil_mysql::conn::DebilConn, impl std::future::Future, impl std::future::Future, ()}]`
    = note: required because it appears within the type `std::future::GenFuture<[static generator@tests/custom_impl_table.rs:62:38: 65:6 conn:debil_mysql::conn::DebilConn for<'r, 's, 't0, 't1, 't2, 't3> {&'r mut debil_mysql::conn::DebilConn, debil_mysql::conn::DebilConn,
 impl std::future::Future, impl std::future::Future, (), &'t1 mut debil_mysql::conn::DebilConn, debil_mysql::conn::DebilConn, impl std::future::Future, impl std::future::Future, ()}]>`
    = note: required because it appears within the type `impl std::future::Future`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.