pub enum GetBlobItem {
Item(BaoContentItem),
Done(Stats),
Error(GetError),
}
Expand description
A single item in a GetBlobResult
.
Variants§
Item(BaoContentItem)
Content
Done(Stats)
Request completed successfully
Error(GetError)
Request failed
Trait Implementations§
Source§impl Debug for GetBlobItem
impl Debug for GetBlobItem
Source§impl From<BaoContentItem> for GetBlobItem
impl From<BaoContentItem> for GetBlobItem
Source§fn from(value: BaoContentItem) -> Self
fn from(value: BaoContentItem) -> Self
Converts to this type from the input type.
Source§impl From<GetError> for GetBlobItem
impl From<GetError> for GetBlobItem
Source§impl From<Stats> for GetBlobItem
impl From<Stats> for GetBlobItem
Source§impl<'a> TryFrom<&'a GetBlobItem> for &'a BaoContentItem
impl<'a> TryFrom<&'a GetBlobItem> for &'a BaoContentItem
Source§type Error = &'a GetBlobItem
type Error = &'a GetBlobItem
The type returned in the event of a conversion error.
Source§impl<'a> TryFrom<&'a GetBlobItem> for &'a GetError
impl<'a> TryFrom<&'a GetBlobItem> for &'a GetError
Source§type Error = &'a GetBlobItem
type Error = &'a GetBlobItem
The type returned in the event of a conversion error.
Source§impl<'a> TryFrom<&'a GetBlobItem> for &'a Stats
impl<'a> TryFrom<&'a GetBlobItem> for &'a Stats
Source§type Error = &'a GetBlobItem
type Error = &'a GetBlobItem
The type returned in the event of a conversion error.
Source§impl TryFrom<GetBlobItem> for BaoContentItem
impl TryFrom<GetBlobItem> for BaoContentItem
Source§type Error = GetBlobItem
type Error = GetBlobItem
The type returned in the event of a conversion error.
Source§impl TryFrom<GetBlobItem> for GetError
impl TryFrom<GetBlobItem> for GetError
Source§type Error = GetBlobItem
type Error = GetBlobItem
The type returned in the event of a conversion error.
Source§impl TryFrom<GetBlobItem> for Stats
impl TryFrom<GetBlobItem> for Stats
Source§type Error = GetBlobItem
type Error = GetBlobItem
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Freeze for GetBlobItem
impl !RefUnwindSafe for GetBlobItem
impl Send for GetBlobItem
impl Sync for GetBlobItem
impl Unpin for GetBlobItem
impl !UnwindSafe for GetBlobItem
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