pub struct TosServerError<'a> { /* private fields */ }Implementations§
Source§impl<'a> TosServerError<'a>
impl<'a> TosServerError<'a>
pub fn message(&self) -> &'a str
pub fn code(&self) -> &'a str
pub fn host_id(&self) -> &'a str
pub fn resource(&self) -> &'a str
pub fn status_code(&self) -> isize
pub fn request_id(&self) -> &'a str
pub fn ec(&self) -> &'a str
pub fn key(&self) -> &'a str
pub fn id2(&self) -> &'a str
pub fn header(&self) -> &'a HashMap<String, String>
pub fn request_url(&self) -> &'a str
Auto Trait Implementations§
impl<'a> Freeze for TosServerError<'a>
impl<'a> RefUnwindSafe for TosServerError<'a>
impl<'a> Send for TosServerError<'a>
impl<'a> Sync for TosServerError<'a>
impl<'a> Unpin for TosServerError<'a>
impl<'a> UnsafeUnpin for TosServerError<'a>
impl<'a> UnwindSafe for TosServerError<'a>
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