pub enum DecodeRole {
ProviderInput,
ConsumerOutput,
}Expand description
The contract side on which a value is being decoded.
Variants§
Trait Implementations§
Source§impl Clone for DecodeRole
impl Clone for DecodeRole
Source§fn clone(&self) -> DecodeRole
fn clone(&self) -> DecodeRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodeRole
Source§impl Debug for DecodeRole
impl Debug for DecodeRole
impl Eq for DecodeRole
Source§impl Hash for DecodeRole
impl Hash for DecodeRole
Source§impl PartialEq for DecodeRole
impl PartialEq for DecodeRole
impl StructuralPartialEq for DecodeRole
Auto Trait Implementations§
impl Freeze for DecodeRole
impl RefUnwindSafe for DecodeRole
impl Send for DecodeRole
impl Sync for DecodeRole
impl Unpin for DecodeRole
impl UnsafeUnpin for DecodeRole
impl UnwindSafe for DecodeRole
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