mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
ForbidOutboundMessages and ForbidInboundMessages (#735)
This commit is contained in:
committed by
Bastian Köcher
parent
470b51d2a9
commit
85bb45b5d3
@@ -112,6 +112,12 @@ pub trait Size {
|
||||
fn size_hint(&self) -> u32;
|
||||
}
|
||||
|
||||
impl Size for () {
|
||||
fn size_hint(&self) -> u32 {
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
/// Pre-computed size.
|
||||
pub struct PreComputedSize(pub usize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user