pub enum GcError {
Internal,
PendingCommit,
// some variants omitted
}Expand description
The error type for [Manager.Gc].
Variants§
Internal
PendingCommit
The system is in the process of being updated, and the current system version has not yet
been committed. Garbage collection is blocked to protect the blobs required by the previous
system version. Consumers may use
[fuchsia.update/CommitStatusProvider.IsCurrentSystemCommitted] to be notified if and when
the current system is committed.
Implementations§
Trait Implementations§
Source§impl<D> Decode<GcError, D> for GcErrorwhere
D: ResourceDialect,
impl<D> Decode<GcError, D> for GcErrorwhere
D: ResourceDialect,
Source§impl Ord for GcError
impl Ord for GcError
Source§impl PartialOrd for GcError
impl PartialOrd for GcError
Source§impl TypeMarker for GcError
impl TypeMarker for GcError
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for GcError
impl ValueTypeMarker for GcError
Source§type Borrowed<'a> = GcError
type Borrowed<'a> = GcError
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<GcError as TypeMarker>::Owned,
) -> <GcError as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<GcError as TypeMarker>::Owned, ) -> <GcError as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned to Self::Borrowed.impl Copy for GcError
impl Eq for GcError
impl StructuralPartialEq for GcError
Auto Trait Implementations§
impl Freeze for GcError
impl RefUnwindSafe for GcError
impl Send for GcError
impl Sync for GcError
impl Unpin for GcError
impl UnsafeUnpin for GcError
impl UnwindSafe for GcError
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