pub enum BackendStatus {
Available,
Unavailable,
}Expand description
Availability of the public lifecycle/session composition on this target.
This status applies only to the vNext session layer. The published shared-
memory API remains available on every supported target. Consumers may use
backend_status as a const preflight or handle
SessionError::BackendUnavailable from a construction attempt.
Variants§
Available
Public spawn and inherited-bootstrap session construction are composed.
Reserved for a supported target whose lifecycle adapter is not composed.
Every target the crate currently compiles for reports Self::Available;
no supported target returns this today.
Trait Implementations§
Source§impl Clone for BackendStatus
impl Clone for BackendStatus
Source§fn clone(&self) -> BackendStatus
fn clone(&self) -> BackendStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendStatus
Source§impl Debug for BackendStatus
impl Debug for BackendStatus
impl Eq for BackendStatus
Source§impl PartialEq for BackendStatus
impl PartialEq for BackendStatus
impl StructuralPartialEq for BackendStatus
Auto Trait Implementations§
impl Freeze for BackendStatus
impl RefUnwindSafe for BackendStatus
impl Send for BackendStatus
impl Sync for BackendStatus
impl Unpin for BackendStatus
impl UnsafeUnpin for BackendStatus
impl UnwindSafe for BackendStatus
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