Struct rtdlib::types::CleanFileName
source[−]pub struct CleanFileName { /* private fields */ }
Expand description
Removes potentially dangerous characters from the name of a file. The encoding of the file name is supposed to be UTF-8. Returns an empty string on failure. Can be called synchronously
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CleanFileName
impl Send for CleanFileName
impl Sync for CleanFileName
impl Unpin for CleanFileName
impl UnwindSafe for CleanFileName
Blanket Implementations
Mutably borrows from an owned value. Read more