#[repr(u8)]pub enum InputChannel {
SystemMessage = 1,
GeneralMessage = 2,
Query = 3,
}
Variants§
SystemMessage = 1
Input channel for system messages such as receiving log events from other contracts.
GeneralMessage = 2
Input channel for general messages pushed from pink contract part of this fat contract.
Query = 3
Input channel for queries from external RPC requests.
Trait Implementations§
Source§impl Clone for InputChannel
impl Clone for InputChannel
Source§fn clone(&self) -> InputChannel
fn clone(&self) -> InputChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InputChannel
impl Debug for InputChannel
Source§impl PartialEq for InputChannel
impl PartialEq for InputChannel
impl Copy for InputChannel
impl Eq for InputChannel
impl StructuralPartialEq for InputChannel
Auto Trait Implementations§
impl Freeze for InputChannel
impl RefUnwindSafe for InputChannel
impl Send for InputChannel
impl Sync for InputChannel
impl Unpin for InputChannel
impl UnwindSafe for InputChannel
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