pub struct Impl<T>(pub T);
Expand description
A wrapper that we use to impl remote traits for types in our crate or dependency crates.
Tuple Fields§
§0: T
Implementations§
Source§impl<T> Impl<T>
impl<T> Impl<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Returns the inner T
.
Trait Implementations§
Source§impl FromSql for Impl<Amount>
impl FromSql for Impl<Amount>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<BlockHash>
impl FromSql for Impl<BlockHash>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<Descriptor<DescriptorPublicKey>>
impl FromSql for Impl<Descriptor<DescriptorPublicKey>>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<DescriptorId>
impl FromSql for Impl<DescriptorId>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<Network>
impl FromSql for Impl<Network>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<ScriptBuf>
impl FromSql for Impl<ScriptBuf>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<Transaction>
impl FromSql for Impl<Transaction>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl FromSql for Impl<Txid>
impl FromSql for Impl<Txid>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl ToSql for Impl<DescriptorId>
impl ToSql for Impl<DescriptorId>
Source§impl ToSql for Impl<Transaction>
impl ToSql for Impl<Transaction>
Auto Trait Implementations§
impl<T> Freeze for Impl<T>where
T: Freeze,
impl<T> RefUnwindSafe for Impl<T>where
T: RefUnwindSafe,
impl<T> Send for Impl<T>where
T: Send,
impl<T> Sync for Impl<T>where
T: Sync,
impl<T> Unpin for Impl<T>where
T: Unpin,
impl<T> UnwindSafe for Impl<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more