Struct fvm_shared::ZERO_ADDRESS
source · pub struct ZERO_ADDRESS { /* private fields */ }
Expand description
Zero address used to avoid allowing it to be used for verification. This is intentionally disallowed because it is an edge case with Filecoin’s BLS signature verification.
Methods from Deref<Target = Address>§
pub fn is_bls_zero_address(&self) -> bool
sourcepub fn payload(&self) -> &Payload
pub fn payload(&self) -> &Payload
Returns the Payload
object from the address, where the respective protocol data is kept
in an enum separated by protocol
sourcepub fn payload_bytes(&self) -> Vec<u8> ⓘ
pub fn payload_bytes(&self) -> Vec<u8> ⓘ
Returns the raw bytes data payload of the Address
Trait Implementations§
source§impl Deref for ZERO_ADDRESS
impl Deref for ZERO_ADDRESS
impl LazyStatic for ZERO_ADDRESS
Auto Trait Implementations§
impl Freeze for ZERO_ADDRESS
impl RefUnwindSafe for ZERO_ADDRESS
impl Send for ZERO_ADDRESS
impl Sync for ZERO_ADDRESS
impl Unpin for ZERO_ADDRESS
impl UnwindSafe for ZERO_ADDRESS
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