pub trait ProxyTrait: ProxyObjBase + Sized {
// Provided methods
fn is_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<bool>> { ... }
fn add_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn remove_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>(
&mut self,
address: Arg0,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
fn admins(
&mut self,
) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>>> { ... }
}
Provided Methods§
fn is_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<bool>>
fn add_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn remove_admin<Arg0: ProxyArg<ManagedAddress<Self::Api>>>( &mut self, address: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn admins( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<UnorderedSetMapper<Self::Api, ManagedAddress<Self::Api>>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.