Struct abstract_interface::AbstractIbc
source · pub struct AbstractIbc<Chain: CwEnv> {
pub client: IbcClient<Chain>,
pub host: IbcHost<Chain>,
}
Fields§
§client: IbcClient<Chain>
§host: IbcHost<Chain>
Implementations§
source§impl<Chain: CwEnv> AbstractIbc<Chain>
impl<Chain: CwEnv> AbstractIbc<Chain>
pub fn new(chain: &Chain) -> Self
pub fn upload(&self) -> Result<(), AbstractInterfaceError>
pub fn instantiate( &self, abstr: &Abstract<Chain>, admin: &Addr ) -> Result<(), CwOrchError>
pub fn register( &self, version_control: &VersionControl<Chain> ) -> Result<(), AbstractInterfaceError>
Auto Trait Implementations§
impl<Chain> RefUnwindSafe for AbstractIbc<Chain>where
Chain: RefUnwindSafe,
impl<Chain> Send for AbstractIbc<Chain>where
Chain: Send,
impl<Chain> Sync for AbstractIbc<Chain>where
Chain: Sync,
impl<Chain> Unpin for AbstractIbc<Chain>where
Chain: Unpin,
impl<Chain> UnwindSafe for AbstractIbc<Chain>where
Chain: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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