Enum sov_modules_api::NonInstantiable
source · pub enum NonInstantiable {}
Expand description
A type that can’t be instantiated.
Trait Implementations§
source§impl BorshDeserialize for NonInstantiable
impl BorshDeserialize for NonInstantiable
fn deserialize_reader<R: Read>(_reader: &mut R) -> Result<Self>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
source§impl BorshSerialize for NonInstantiable
impl BorshSerialize for NonInstantiable
source§impl Debug for NonInstantiable
impl Debug for NonInstantiable
source§impl PartialEq<NonInstantiable> for NonInstantiable
impl PartialEq<NonInstantiable> for NonInstantiable
source§fn eq(&self, other: &NonInstantiable) -> bool
fn eq(&self, other: &NonInstantiable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NonInstantiable
Auto Trait Implementations§
impl RefUnwindSafe for NonInstantiable
impl Send for NonInstantiable
impl Sync for NonInstantiable
impl Unpin for NonInstantiable
impl UnwindSafe for NonInstantiable
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