pub enum GlobalIdError {
WrongLength(usize),
InvalidChar(char),
Overflow(char),
}Expand description
Reasons a string is not a valid IfcGloballyUniqueId.
Variants§
WrongLength(usize)
InvalidChar(char)
Overflow(char)
The leading character encodes the high bits of byte 0, so it can only be 0–3.
Trait Implementations§
Source§impl Debug for GlobalIdError
impl Debug for GlobalIdError
Source§impl Display for GlobalIdError
impl Display for GlobalIdError
impl Eq for GlobalIdError
Source§impl Error for GlobalIdError
impl Error for GlobalIdError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for GlobalIdError
impl PartialEq for GlobalIdError
Source§fn eq(&self, other: &GlobalIdError) -> bool
fn eq(&self, other: &GlobalIdError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalIdError
Auto Trait Implementations§
impl Freeze for GlobalIdError
impl RefUnwindSafe for GlobalIdError
impl Send for GlobalIdError
impl Sync for GlobalIdError
impl Unpin for GlobalIdError
impl UnsafeUnpin for GlobalIdError
impl UnwindSafe for GlobalIdError
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