pub enum MetadataItem<'a, 'metadata> {
Contract {
state_type_name: &'metadata str,
recommended_state_capacity: u32,
recommended_slot_capacity: u32,
recommended_tmp_capacity: u32,
decoder: MethodsMetadataDecoder<'a, 'metadata>,
},
Trait {
trait_name: &'metadata str,
decoder: MethodsMetadataDecoder<'a, 'metadata>,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'metadata> Freeze for MetadataItem<'a, 'metadata>
impl<'a, 'metadata> RefUnwindSafe for MetadataItem<'a, 'metadata>
impl<'a, 'metadata> Send for MetadataItem<'a, 'metadata>
impl<'a, 'metadata> Sync for MetadataItem<'a, 'metadata>
impl<'a, 'metadata> Unpin for MetadataItem<'a, 'metadata>
impl<'a, 'metadata> !UnwindSafe for MetadataItem<'a, 'metadata>
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