address: Add Sync, Send, Sized and UnPin marker traits on NetworkValidation
This commit is contained in:
parent
e83a2d3422
commit
814b9917da
|
@ -616,7 +616,7 @@ mod sealed {
|
||||||
|
|
||||||
/// Marker of status of address's network validation. See section [*Parsing addresses*](Address#parsing-addresses)
|
/// Marker of status of address's network validation. See section [*Parsing addresses*](Address#parsing-addresses)
|
||||||
/// on [`Address`] for details.
|
/// on [`Address`] for details.
|
||||||
pub trait NetworkValidation: sealed::NetworkValidation {
|
pub trait NetworkValidation: sealed::NetworkValidation + Sync + Send + Sized + Unpin {
|
||||||
/// Indicates whether this `NetworkValidation` is `NetworkChecked` or not.
|
/// Indicates whether this `NetworkValidation` is `NetworkChecked` or not.
|
||||||
const IS_CHECKED: bool;
|
const IS_CHECKED: bool;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue