pub struct AccountParser;Trait Implementations§
Source§impl Clone for AccountParser
impl Clone for AccountParser
Source§fn clone(&self) -> AccountParser
fn clone(&self) -> AccountParser
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountParser
impl Debug for AccountParser
Source§impl Parser for AccountParser
impl Parser for AccountParser
Source§type Input = SubscribeUpdateAccount
type Input = SubscribeUpdateAccount
The input update type for this parser.
Source§type Output = ShieldProgramState
type Output = ShieldProgramState
The type of the parsed value produced by this parser.
Source§fn id(&self) -> Cow<'_, str>
fn id(&self) -> Cow<'_, str>
A unique ID for this parser. Used to associate the parser with its
requested prefilter data. Read more
Source§fn prefilter(&self) -> Prefilter
fn prefilter(&self) -> Prefilter
Filter data passed to Yellowstone to coarsely narrow down updates
to values parseable by this parser.
Source§async fn parse(&self, acct: &AccountUpdate) -> ParseResult<Self::Output>
async fn parse(&self, acct: &AccountUpdate) -> ParseResult<Self::Output>
Parse the given update into a parsed value.
Source§impl ProgramParser for AccountParser
impl ProgramParser for AccountParser
Source§fn program_id(&self) -> Pubkey
fn program_id(&self) -> Pubkey
The program ID that this parser is associated with.
impl Copy for AccountParser
Auto Trait Implementations§
impl Freeze for AccountParser
impl RefUnwindSafe for AccountParser
impl Send for AccountParser
impl Sync for AccountParser
impl Unpin for AccountParser
impl UnwindSafe for AccountParser
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> GetPrefilter for Twhere
T: Parser,
impl<T> GetPrefilter for Twhere
T: Parser,
Source§fn prefilter(&self) -> Prefilter
fn prefilter(&self) -> Prefilter
Get the prefilter of this parser, see
Parser::prefilter.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request