#[repr(u8)]pub enum ProofType {
RegularTransfer = 1,
EarlyResolve = 2,
TimeoutResolve = 3,
}Variants§
Trait Implementations§
Source§impl Deserialize for ProofType
impl Deserialize for ProofType
fn deserialize<R: ReadBytesExt>( reader: &mut R, ) -> Result<Self, SerializingError>
fn deserialize_from_vec(v: &Vec<u8>) -> Result<Self, SerializingError>
Source§impl Ord for ProofType
impl Ord for ProofType
Source§impl PartialOrd for ProofType
impl PartialOrd for ProofType
Source§impl Serialize for ProofType
impl Serialize for ProofType
fn serialize<W: WriteBytesExt>( &self, writer: &mut W, ) -> Result<usize, SerializingError>
fn serialized_size(&self) -> usize
fn serialize_to_vec(&self) -> Vec<u8> ⓘ
impl Copy for ProofType
impl Eq for ProofType
impl StructuralPartialEq for ProofType
Auto Trait Implementations§
impl Freeze for ProofType
impl RefUnwindSafe for ProofType
impl Send for ProofType
impl Sync for ProofType
impl Unpin for ProofType
impl UnwindSafe for ProofType
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