pub struct KeystoreExt(pub KeystorePtr);Expand description
The keystore extension to register/retrieve from the externalities.
Tuple Fields§
§0: KeystorePtrImplementations§
Source§impl KeystoreExt
impl KeystoreExt
Trait Implementations§
Source§impl Deref for KeystoreExt
impl Deref for KeystoreExt
Source§impl DerefMut for KeystoreExt
impl DerefMut for KeystoreExt
Source§impl Extension for KeystoreExt
impl Extension for KeystoreExt
Source§fn as_mut_any(&mut self) -> &mut dyn Any
fn as_mut_any(&mut self) -> &mut dyn Any
Return the extension as
&mut dyn Any. Read moreSource§fn start_transaction(&mut self, ty: TransactionType)
fn start_transaction(&mut self, ty: TransactionType)
Start a transaction of type
ty.Source§fn commit_transaction(&mut self, ty: TransactionType)
fn commit_transaction(&mut self, ty: TransactionType)
Commit a transaction of type
ty.Source§fn rollback_transaction(&mut self, ty: TransactionType)
fn rollback_transaction(&mut self, ty: TransactionType)
Rollback a transaction of type
ty.Source§impl From<Arc<dyn Keystore>> for KeystoreExt
impl From<Arc<dyn Keystore>> for KeystoreExt
Source§fn from(inner: KeystorePtr) -> Self
fn from(inner: KeystorePtr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeystoreExt
impl !RefUnwindSafe for KeystoreExt
impl Send for KeystoreExt
impl Sync for KeystoreExt
impl Unpin for KeystoreExt
impl UnsafeUnpin for KeystoreExt
impl !UnwindSafe for KeystoreExt
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.