[−]Struct bitcoin::hash_types::SigHash
Hash of the transaction according to the signature algorithm
Methods
impl SigHash
Trait Implementations
impl AsRef<[u8]> for SigHash
impl Borrow<[u8]> for SigHash
impl Clone for SigHash
fn clone(&self) -> SigHash
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SigHash
impl Debug for SigHash
impl Decodable for SigHash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Default for SigHash
impl Deref for SigHash
impl Display for SigHash
impl Encodable for SigHash
[src]
impl Eq for SigHash
impl From<Hash> for SigHash
impl From<SigHash> for Hash
impl Hash for SigHash
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Hash for SigHash
type Engine = <Hash as Hash>::Engine
A hashing engine which bytes can be serialized into. It is expected to implement the io::Write
trait, and to never return errors under any conditions. Read more
type Inner = <Hash as Hash>::Inner
The byte array that represents the hash internally
const LEN: usize
const DISPLAY_BACKWARD: bool
fn from_engine(e: Self::Engine) -> Self
fn from_slice(sl: &[u8]) -> Result<SigHash, Error>
fn from_inner(inner: Self::Inner) -> Self
fn into_inner(self) -> Self::Inner
fn engine() -> Self::Engine
[src]
fn hash(data: &[u8]) -> Self
[src]
impl Index<Range<usize>> for SigHash
impl Index<RangeFrom<usize>> for SigHash
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[u8]
impl Index<RangeFull> for SigHash
impl Index<RangeTo<usize>> for SigHash
impl Index<usize> for SigHash
impl LowerHex for SigHash
impl Ord for SigHash
fn cmp(&self, other: &SigHash) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SigHash> for SigHash
impl PartialOrd<SigHash> for SigHash
fn partial_cmp(&self, other: &SigHash) -> Option<Ordering>
fn lt(&self, other: &SigHash) -> bool
fn le(&self, other: &SigHash) -> bool
fn gt(&self, other: &SigHash) -> bool
fn ge(&self, other: &SigHash) -> bool
impl StructuralEq for SigHash
impl StructuralPartialEq for SigHash
Auto Trait Implementations
impl RefUnwindSafe for SigHash
impl Send for SigHash
impl Sync for SigHash
impl Unpin for SigHash
impl UnwindSafe for SigHash
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base32Len for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn base32_len(&self) -> usize
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'f, T> CheckBase32<Vec<u5>> for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
type Err = Error
Error type if conversion fails
fn check_base32(self) -> Result<Vec<u5>, <T as CheckBase32<Vec<u5>>>::Err>
[src]
impl<T> From<T> for T
[src]
impl<T> FromHex for T where
T: Hash,
[src]
T: Hash,
fn from_byte_iter<I>(iter: I) -> Result<T, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToBase32 for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
[src]
W: WriteBase32,
fn to_base32(&self) -> Vec<u5>
[src]
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,