pub struct CPIEvent { /* private fields */ }Expand description
CPI Event decoder.
Implementations§
Trait Implementations§
Source§impl Decoder for &CPIEvent
impl Decoder for &CPIEvent
Source§fn decode_account<V>(&self, _visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
fn decode_account<V>(&self, _visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
Hint that the visitor is expecting an
AccountInfo.Source§fn decode_transaction<V>(&self, _visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
fn decode_transaction<V>(&self, _visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
Hint that the visitor is expecting a
Transaction.Source§fn decode_anchor_cpi_events<V>(
&self,
_visitor: V,
) -> Result<V::Value, DecodeError>where
V: Visitor,
fn decode_anchor_cpi_events<V>(
&self,
_visitor: V,
) -> Result<V::Value, DecodeError>where
V: Visitor,
Hint that the visitor is expecting
AnchorCPIEvent list.Source§fn decode_owned_data<V>(&self, visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
fn decode_owned_data<V>(&self, visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
Hint that the visitor is expecting a
OwnedData. Read moreSource§fn decode_bytes<V>(&self, visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
fn decode_bytes<V>(&self, visitor: V) -> Result<V::Value, DecodeError>where
V: Visitor,
Hint that the visitor is expecting a
Data. Read moreAuto Trait Implementations§
impl Freeze for CPIEvent
impl RefUnwindSafe for CPIEvent
impl Send for CPIEvent
impl Sync for CPIEvent
impl Unpin for CPIEvent
impl UnwindSafe for CPIEvent
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more