Struct grin_core::core::block::UntrustedBlock
source · pub struct UntrustedBlock(/* private fields */);
Expand description
Block 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 From<UntrustedBlock> for Block
impl From<UntrustedBlock> for Block
source§fn from(block: UntrustedBlock) -> Self
fn from(block: UntrustedBlock) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UntrustedBlock
impl RefUnwindSafe for UntrustedBlock
impl Send for UntrustedBlock
impl Sync for UntrustedBlock
impl Unpin for UntrustedBlock
impl UnwindSafe for UntrustedBlock
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