Enum bitcoin_string::SafeChars
source · pub enum SafeChars {
SAFE_CHARS_DEFAULT,
SAFE_CHARS_UA_COMMENT,
SAFE_CHARS_FILENAME,
SAFE_CHARS_URI,
}Expand description
| Used by SanitizeString() |
Variants§
SAFE_CHARS_DEFAULT
| The full set of allowed chars |
SAFE_CHARS_UA_COMMENT
| BIP-0014 subset |
SAFE_CHARS_FILENAME
| Chars allowed in filenames |
SAFE_CHARS_URI
| Chars allowed in URIs (RFC 3986) |
Auto Trait Implementations§
impl RefUnwindSafe for SafeChars
impl Send for SafeChars
impl Sync for SafeChars
impl Unpin for SafeChars
impl UnwindSafe for SafeChars
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more