pub struct BoxedDevice(/* private fields */);
Expand description
A Device
where the signer is a dynamic Signer<Signature>
, in the form of
a BoxedSigner
.
This can be constructed via Device::boxed
.
Methods from Deref<Target = Device<BoxedSigner>>§
Sourcepub fn public_key(&self) -> &PublicKey
pub fn public_key(&self) -> &PublicKey
Return the crypto::PublicKey
of the Device.
Trait Implementations§
Source§impl AsRef<Device<BoxedSigner>> for BoxedDevice
impl AsRef<Device<BoxedSigner>> for BoxedDevice
Source§fn as_ref(&self) -> &Device<BoxedSigner>
fn as_ref(&self) -> &Device<BoxedSigner>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Deref for BoxedDevice
impl Deref for BoxedDevice
Source§impl Signer<ExtendedSignature> for BoxedDevice
impl Signer<ExtendedSignature> for BoxedDevice
Source§impl Signer<Signature> for BoxedDevice
impl Signer<Signature> for BoxedDevice
Auto Trait Implementations§
impl Freeze for BoxedDevice
impl !RefUnwindSafe for BoxedDevice
impl !Send for BoxedDevice
impl !Sync for BoxedDevice
impl Unpin for BoxedDevice
impl !UnwindSafe for BoxedDevice
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> 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 more