Enum sidevm_env::InputChannel
source · #[repr(u8)]pub enum InputChannel {
SystemMessage = 1,
GeneralMessage = 2,
Query = 3,
HttpRequest = 4,
}
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 phat contract.
Query = 3
Input channel for queries from external RPC requests.
HttpRequest = 4
Input channel for incoming HTTP requests.
Trait Implementations§
source§impl Clone for InputChannel
impl Clone for InputChannel
source§fn clone(&self) -> InputChannel
fn clone(&self) -> InputChannel
Returns a copy 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
source§fn eq(&self, other: &InputChannel) -> bool
fn eq(&self, other: &InputChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InputChannel
impl Eq for InputChannel
impl StructuralEq for InputChannel
impl StructuralPartialEq for InputChannel
Auto Trait Implementations§
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