address: Add Sync, Send, Sized and UnPin marker traits on NetworkValidation

This commit is contained in:
Steven Roose 2023-04-09 16:55:02 +01:00
parent e83a2d3422
commit 814b9917da
No known key found for this signature in database
GPG Key ID: 2F2A88D7F8D68E87
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }