#[non_exhaustive]pub struct ObjectListError { /* private fields */ }
Expand description
decode xml to object list error collection
Trait Implementations§
Source§impl Debug for ObjectListError
impl Debug for ObjectListError
Source§impl Display for ObjectListError
impl Display for ObjectListError
Source§impl Error for ObjectListError
impl Error for ObjectListError
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<P: PointerFamily, Item: RefineObject<E>, E: Error + 'static> RefineObjectList<Item, ObjectListError, E> for ObjectList<P, Item>
impl<P: PointerFamily, Item: RefineObject<E>, E: Error + 'static> RefineObjectList<Item, ObjectListError, E> for ObjectList<P, Item>
Source§fn set_key_count(&mut self, key_count: &str) -> Result<(), ObjectListError>
fn set_key_count(&mut self, key_count: &str) -> Result<(), ObjectListError>
提取 key_count
Source§fn set_prefix(&mut self, prefix: &str) -> Result<(), ObjectListError>
fn set_prefix(&mut self, prefix: &str) -> Result<(), ObjectListError>
提取前缀
Source§fn set_common_prefix(
&mut self,
list: &[Cow<'_, str>],
) -> Result<(), ObjectListError>
fn set_common_prefix( &mut self, list: &[Cow<'_, str>], ) -> Result<(), ObjectListError>
提取文件目录
Source§fn set_max_keys(&mut self, max_keys: &str) -> Result<(), ObjectListError>
fn set_max_keys(&mut self, max_keys: &str) -> Result<(), ObjectListError>
提取 max_keys
Source§fn set_next_continuation_token_str(
&mut self,
token: &str,
) -> Result<(), ObjectListError>
fn set_next_continuation_token_str( &mut self, token: &str, ) -> Result<(), ObjectListError>
提取翻页信息 token
Source§fn decode_common_prefix(&mut self, xml: &str) -> Result<(), InnerListError>
fn decode_common_prefix(&mut self, xml: &str) -> Result<(), InnerListError>
用于解析 common prefix
impl ListError for ObjectListError
Auto Trait Implementations§
impl Freeze for ObjectListError
impl RefUnwindSafe for ObjectListError
impl Send for ObjectListError
impl Sync for ObjectListError
impl Unpin for ObjectListError
impl UnwindSafe for ObjectListError
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