pub enum ShareIoError {
ShareNotFound {
share_name: String,
},
SchemaNotFound {
share_name: String,
schema_name: String,
},
TableNotFound {
share_name: String,
schema_name: String,
table_name: String,
},
MalformedContinuationToken,
ConnectionError,
Other {
reason: String,
},
}Expand description
Errors that can occur during the listing and retrieval of shared objects.
Variants§
The requested share was not found in the backing store.
SchemaNotFound
Fields
The name of the share where the schema was searched.
The requested schema was not found in the backing store.
TableNotFound
Fields
The name of the share where the table was searched.
The requested table was not found in the backing store.
MalformedContinuationToken
The token in the list cursor could not be serialized.
ConnectionError
The connection to the backing store could not be established.
Other
Other error
Trait Implementations§
source§fn clone(&self) -> ShareIoError
fn clone(&self) -> ShareIoError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§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
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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§fn from(value: DynamoError) -> Self
fn from(value: DynamoError) -> Self
Converts to this type from the input type.
source§fn from(value: ShareIoError) -> Self
fn from(value: ShareIoError) -> Self
Converts to this type from the input type.
source§fn eq(&self, other: &ShareIoError) -> bool
fn eq(&self, other: &ShareIoError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
Blanket Implementations§
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more