Struct grin_core::core::block::UntrustedBlockHeader
source · pub struct UntrustedBlockHeader(/* private fields */);
Expand description
Block header which does lightweight validation as part of deserialization, it supposed to be used when we can’t trust the channel (eg network)
Trait Implementations§
source§impl Debug for UntrustedBlockHeader
impl Debug for UntrustedBlockHeader
source§impl From<UntrustedBlockHeader> for BlockHeader
impl From<UntrustedBlockHeader> for BlockHeader
source§fn from(header: UntrustedBlockHeader) -> Self
fn from(header: UntrustedBlockHeader) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UntrustedBlockHeader
impl RefUnwindSafe for UntrustedBlockHeader
impl Send for UntrustedBlockHeader
impl Sync for UntrustedBlockHeader
impl Unpin for UntrustedBlockHeader
impl UnwindSafe for UntrustedBlockHeader
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