pub enum DecodeSource {
VerifiedAbi,
FourByteDirectory,
Unknown,
}Expand description
Source of the function signature resolution.
Variants§
VerifiedAbi
Decoded from contract’s verified ABI.
FourByteDirectory
Looked up from 4byte.directory.
Unknown
Only raw selector available.
Trait Implementations§
Source§impl Clone for DecodeSource
impl Clone for DecodeSource
Source§impl Debug for DecodeSource
impl Debug for DecodeSource
Source§impl<'de> Deserialize<'de> for DecodeSource
impl<'de> Deserialize<'de> for DecodeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DecodeSource
impl RefUnwindSafe for DecodeSource
impl Send for DecodeSource
impl Sync for DecodeSource
impl Unpin for DecodeSource
impl UnsafeUnpin for DecodeSource
impl UnwindSafe for DecodeSource
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