pub struct Fetched {
pub uid: u32,
pub flags: Flags,
pub size: u64,
pub body: Option<Vec<u8>>,
}Expand description
One message from a FETCH response; body holds whatever body
section the command asked for (headers or the full message).
Fields§
§uid: u32§flags: Flags§size: u64§body: Option<Vec<u8>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnsafeUnpin for Fetched
impl UnwindSafe for Fetched
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