#[repr(i32)]pub enum SpaceStatus {
Unknown = 0,
Loading = 1,
Ok = 2,
Missing = 3,
Error = 4,
RemoteWaitingDeletion = 5,
RemoteDeleted = 6,
SpaceDeleted = 7,
SpaceActive = 8,
SpaceJoining = 9,
SpaceRemoving = 10,
}Variants§
Unknown = 0
Unknown means the space is not loaded yet
Loading = 1
Loading - the space in progress of loading
Ok = 2
Ok - the space loaded and available
Missing = 3
Missing - the space is missing
Error = 4
Error - the space loading ended with an error
RemoteWaitingDeletion = 5
RemoteWaitingDeletion - network status is “waiting deletion”
RemoteDeleted = 6
RemoteDeleted - the space is deleted in the current network
SpaceDeleted = 7
SpaceDeleted - the space should be deleted in the network
SpaceActive = 8
SpaceActive - the space is active in the network
SpaceJoining = 9
SpaceJoining - the account is joining the space
SpaceRemoving = 10
SpaceRemoving - the account is removing from space or the space is removed from network
Implementations§
Source§impl SpaceStatus
impl SpaceStatus
Source§impl SpaceStatus
impl SpaceStatus
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for SpaceStatus
impl Clone for SpaceStatus
Source§fn clone(&self) -> SpaceStatus
fn clone(&self) -> SpaceStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SpaceStatus
impl Debug for SpaceStatus
Source§impl Default for SpaceStatus
impl Default for SpaceStatus
Source§fn default() -> SpaceStatus
fn default() -> SpaceStatus
Source§impl From<SpaceStatus> for i32
impl From<SpaceStatus> for i32
Source§fn from(value: SpaceStatus) -> i32
fn from(value: SpaceStatus) -> i32
Source§impl Hash for SpaceStatus
impl Hash for SpaceStatus
Source§impl Ord for SpaceStatus
impl Ord for SpaceStatus
Source§fn cmp(&self, other: &SpaceStatus) -> Ordering
fn cmp(&self, other: &SpaceStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SpaceStatus
impl PartialEq for SpaceStatus
Source§impl PartialOrd for SpaceStatus
impl PartialOrd for SpaceStatus
Source§impl TryFrom<i32> for SpaceStatus
impl TryFrom<i32> for SpaceStatus
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<SpaceStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<SpaceStatus, UnknownEnumValue>
impl Copy for SpaceStatus
impl Eq for SpaceStatus
impl StructuralPartialEq for SpaceStatus
Auto Trait Implementations§
impl Freeze for SpaceStatus
impl RefUnwindSafe for SpaceStatus
impl Send for SpaceStatus
impl Sync for SpaceStatus
impl Unpin for SpaceStatus
impl UnsafeUnpin for SpaceStatus
impl UnwindSafe for SpaceStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request