pub enum ParseS3PathError {
InvalidPath,
InvalidBucketName,
KeyTooLong,
}Expand description
An error which can be returned when parsing a s3 path
Variants§
InvalidPath
The request is not a valid path-style request
InvalidBucketName
The bucket name is invalid
KeyTooLong
The object key is too long
Trait Implementations§
Source§impl Clone for ParseS3PathError
impl Clone for ParseS3PathError
Source§fn clone(&self) -> ParseS3PathError
fn clone(&self) -> ParseS3PathError
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 ParseS3PathError
impl Debug for ParseS3PathError
Source§impl Display for ParseS3PathError
impl Display for ParseS3PathError
impl Eq for ParseS3PathError
Source§impl Error for ParseS3PathError
impl Error for ParseS3PathError
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 ParseS3PathError
impl PartialEq for ParseS3PathError
Source§fn eq(&self, other: &ParseS3PathError) -> bool
fn eq(&self, other: &ParseS3PathError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseS3PathError
Auto Trait Implementations§
impl Freeze for ParseS3PathError
impl RefUnwindSafe for ParseS3PathError
impl Send for ParseS3PathError
impl Sync for ParseS3PathError
impl Unpin for ParseS3PathError
impl UnsafeUnpin for ParseS3PathError
impl UnwindSafe for ParseS3PathError
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.