pub enum CsdifError {
Validation(String),
Transformation(String),
Other(String),
}Expand description
Represents errors that can occur during CSDIF processing.
Variants§
Validation(String)
Structural validation failed.
Transformation(String)
Transformation failed due to missing or invalid input.
Other(String)
Generic error with a message.
Trait Implementations§
Source§impl Clone for CsdifError
impl Clone for CsdifError
Source§fn clone(&self) -> CsdifError
fn clone(&self) -> CsdifError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CsdifError
impl Debug for CsdifError
Auto Trait Implementations§
impl Freeze for CsdifError
impl RefUnwindSafe for CsdifError
impl Send for CsdifError
impl Sync for CsdifError
impl Unpin for CsdifError
impl UnsafeUnpin for CsdifError
impl UnwindSafe for CsdifError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP