pub enum IoError {
Show 16 variants
Io(Error),
NotPly,
UnsupportedFormat(String),
BadHeader(String),
UnknownPropertyType(String),
MissingCoordinates,
ListInVertex,
VertexNotFirst(String),
Truncated {
expected: usize,
actual: usize,
},
BadNumber(String),
Las(String),
E57(String),
BadPcd(String),
UnsupportedPcd(String),
UnknownFormat(String),
Cloud(CloudError),
}Expand description
Read and write errors.
Variants§
Io(Error)
A filesystem error.
NotPly
The file does not begin with the ply signature.
UnsupportedFormat(String)
Unsupported PLY format.
BadHeader(String)
The header is malformed.
UnknownPropertyType(String)
Unknown property type.
MissingCoordinates
The vertex element carries no coordinates.
ListInVertex
A list property inside vertex.
VertexNotFirst(String)
The first element is not vertex.
Truncated
The data end earlier than the header promised.
BadNumber(String)
A number could not be parsed.
Las(String)
An error raised by the las crate.
E57(String)
An error raised by the e57 crate.
BadPcd(String)
The PCD header is malformed.
UnsupportedPcd(String)
A PCD field or layout this reader does not handle.
UnknownFormat(String)
The extension names no format this crate knows.
The readable ones are listed in READABLE, the writable ones in
WRITABLE; the message names the extension rather than reciting
the list, because a file dialog offers the list already.
Cloud(CloudError)
An error while building the cloud.
Trait Implementations§
Source§impl Error for IoError
impl Error for IoError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CloudError> for IoError
impl From<CloudError> for IoError
Source§fn from(source: CloudError) -> Self
fn from(source: CloudError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for IoError
impl !UnwindSafe for IoError
impl Freeze for IoError
impl Send for IoError
impl Sync for IoError
impl Unpin for IoError
impl UnsafeUnpin for IoError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.