pub struct NoSigner;Expand description
Type-level placeholder for “no signer” (public reads).
Trait Implementations§
Source§impl AccountSigner for NoSigner
impl AccountSigner for NoSigner
Source§fn public_key(&self) -> &str
fn public_key(&self) -> &str
Canonical base58 wallet address whose account state is being read.
Source§fn sign_message<'life0, 'life1, 'async_trait>(
&'life0 self,
_message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sign_message<'life0, 'life1, 'async_trait>(
&'life0 self,
_message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Sign only the exact SDK-generated, short-lived account-read message.
Auto Trait Implementations§
impl Freeze for NoSigner
impl RefUnwindSafe for NoSigner
impl Send for NoSigner
impl Sync for NoSigner
impl Unpin for NoSigner
impl UnsafeUnpin for NoSigner
impl UnwindSafe for NoSigner
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