pub struct CameraReceipt {
pub objects_root: PathBuf,
pub received: Vec<ReceivedObject>,
pub failures: Vec<ObjectFailure>,
pub storage_failures: Vec<StorageFailure>,
}Expand description
The outcome of CameraAdapter::receive.
Fields§
§objects_root: PathBufThe root to hand to SourceAdapter::extract.
received: Vec<ReceivedObject>Every object received, in enumeration order.
failures: Vec<ObjectFailure>Every object that failed, in enumeration order. Never dropped silently.
storage_failures: Vec<StorageFailure>Every storage whose objects could not be listed, such as an empty or unavailable card
slot, in storage order. Its objects are neither received nor listed in failures.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CameraReceipt
impl !UnwindSafe for CameraReceipt
impl Freeze for CameraReceipt
impl Send for CameraReceipt
impl Sync for CameraReceipt
impl Unpin for CameraReceipt
impl UnsafeUnpin for CameraReceipt
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more