#[repr(i32)]pub enum ProcessingFailureReason {
Show 25 variants
Unspecified = 0,
LowResolution = 1,
Duplicate = 2,
InsufficientGps = 3,
NoOverlapGps = 4,
InvalidGps = 5,
FailedToRefinePositions = 6,
Takedown = 7,
CorruptVideo = 8,
Internal = 9,
InvalidVideoFormat = 10,
InvalidVideoDimensions = 11,
InvalidCaptureTime = 12,
GpsDataGap = 13,
JumpyGps = 14,
InvalidImu = 15,
InsufficientImu = 21,
InsufficientOverlapTimeSeries = 22,
ImuDataGap = 16,
UnsupportedCamera = 17,
NotOutdoors = 18,
InsufficientVideoFrames = 19,
InsufficientMovement = 20,
MastDown = 27,
CameraCovered = 28,
}
Expand description
The possible reasons this [PhotoSequence] [google.streetview.publish.v1.PhotoSequence] failed to process.
Variants§
Unspecified = 0
The failure reason is unspecified, this is the default value.
LowResolution = 1
Video frame’s resolution is too small.
Duplicate = 2
This video has been uploaded before.
InsufficientGps = 3
Too few GPS points.
NoOverlapGps = 4
No overlap between the time frame of GPS track and the time frame of video.
InvalidGps = 5
GPS is invalid (e.x. all GPS points are at (0,0))
FailedToRefinePositions = 6
The sequence of photos could not be accurately located in the world.
Takedown = 7
The sequence was taken down for policy reasons.
CorruptVideo = 8
The video file was corrupt or could not be decoded.
Internal = 9
A permanent failure in the underlying system occurred.
InvalidVideoFormat = 10
The video format is invalid or unsupported.
InvalidVideoDimensions = 11
Invalid image aspect ratio found.
InvalidCaptureTime = 12
Invalid capture time. Timestamps were from the future.
GpsDataGap = 13
GPS data contains a gap greater than 5 seconds in duration.
JumpyGps = 14
GPS data is too erratic to be processed.
InvalidImu = 15
IMU (Accelerometer, Gyroscope, etc.) data are not valid. They may be missing required fields (x, y, z or time), may not be formatted correctly, or any other issue that prevents our systems from parsing it.
InsufficientImu = 21
Too few IMU points.
InsufficientOverlapTimeSeries = 22
Insufficient overlap in the time frame between GPS, IMU, and other time series data.
ImuDataGap = 16
IMU (Accelerometer, Gyroscope, etc.) data contain gaps greater than 0.1 seconds in duration.
UnsupportedCamera = 17
The camera is not supported.
NotOutdoors = 18
Some frames were indoors, which is unsupported.
InsufficientVideoFrames = 19
Not enough video frames.
InsufficientMovement = 20
Not enough moving data.
MastDown = 27
Mast is down.
CameraCovered = 28
Camera is covered.
Implementations§
source§impl ProcessingFailureReason
impl ProcessingFailureReason
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ProcessingFailureReason
.
sourcepub fn from_i32(value: i32) -> Option<ProcessingFailureReason>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ProcessingFailureReason>
Converts an i32
to a ProcessingFailureReason
, or None
if value
is not a valid variant.
source§impl ProcessingFailureReason
impl ProcessingFailureReason
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ProcessingFailureReason
impl Clone for ProcessingFailureReason
source§fn clone(&self) -> ProcessingFailureReason
fn clone(&self) -> ProcessingFailureReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessingFailureReason
impl Debug for ProcessingFailureReason
source§impl Default for ProcessingFailureReason
impl Default for ProcessingFailureReason
source§fn default() -> ProcessingFailureReason
fn default() -> ProcessingFailureReason
source§impl From<ProcessingFailureReason> for i32
impl From<ProcessingFailureReason> for i32
source§fn from(value: ProcessingFailureReason) -> i32
fn from(value: ProcessingFailureReason) -> i32
source§impl Hash for ProcessingFailureReason
impl Hash for ProcessingFailureReason
source§impl Ord for ProcessingFailureReason
impl Ord for ProcessingFailureReason
source§fn cmp(&self, other: &ProcessingFailureReason) -> Ordering
fn cmp(&self, other: &ProcessingFailureReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ProcessingFailureReason
impl PartialEq for ProcessingFailureReason
source§fn eq(&self, other: &ProcessingFailureReason) -> bool
fn eq(&self, other: &ProcessingFailureReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProcessingFailureReason
impl PartialOrd for ProcessingFailureReason
source§fn partial_cmp(&self, other: &ProcessingFailureReason) -> Option<Ordering>
fn partial_cmp(&self, other: &ProcessingFailureReason) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ProcessingFailureReason
impl TryFrom<i32> for ProcessingFailureReason
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ProcessingFailureReason, UnknownEnumValue>
fn try_from(value: i32) -> Result<ProcessingFailureReason, UnknownEnumValue>
impl Copy for ProcessingFailureReason
impl Eq for ProcessingFailureReason
impl StructuralPartialEq for ProcessingFailureReason
Auto Trait Implementations§
impl Freeze for ProcessingFailureReason
impl RefUnwindSafe for ProcessingFailureReason
impl Send for ProcessingFailureReason
impl Sync for ProcessingFailureReason
impl Unpin for ProcessingFailureReason
impl UnwindSafe for ProcessingFailureReason
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request