mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-19 09:06:10 +00:00
ForbidOutboundMessages and ForbidInboundMessages (#735)
This commit is contained in:
1 parent
470b51d2a9
commit
85bb45b5d3
3 files changed
+91
No files matched your search
@@ -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