#[non_exhaustive]pub struct BucketError { /* private fields */ }
Expand description
decode xml to bucket error type
Trait Implementations§
Source§impl Debug for BucketError
impl Debug for BucketError
Source§impl Display for BucketError
impl Display for BucketError
Source§impl Error for BucketError
impl Error for BucketError
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<T: PointerFamily> RefineBucket<BucketError> for Bucket<T>
impl<T: PointerFamily> RefineBucket<BucketError> for Bucket<T>
Source§fn set_location(&mut self, location: &str) -> Result<(), BucketError>
fn set_location(&mut self, location: &str) -> Result<(), BucketError>
提取 location
Source§fn set_creation_date(&mut self, creation_date: &str) -> Result<(), BucketError>
fn set_creation_date(&mut self, creation_date: &str) -> Result<(), BucketError>
提取 bucket 创建时间
Source§fn set_storage_class(&mut self, storage_class: &str) -> Result<(), BucketError>
fn set_storage_class(&mut self, storage_class: &str) -> Result<(), BucketError>
提取 storage_class
Source§fn set_extranet_endpoint(
&mut self,
_extranet_endpoint: &str,
) -> Result<(), Error>
fn set_extranet_endpoint( &mut self, _extranet_endpoint: &str, ) -> Result<(), Error>
提取 extranet_endpoint
Auto Trait Implementations§
impl Freeze for BucketError
impl RefUnwindSafe for BucketError
impl Send for BucketError
impl Sync for BucketError
impl Unpin for BucketError
impl UnwindSafe for BucketError
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