pub enum ConnectivityState {
Idle,
Connecting,
Ready,
TransientFailure,
}Expand description
Where the tunnel is, using gRPC’s connectivity-state vocabulary.
Variants§
Idle
No tunnel, and none being opened — the state before the first call, and after one drops.
Connecting
A tunnel is being opened.
Ready
A tunnel is open and calls can be made.
TransientFailure
The last attempt to open a tunnel failed. The next call tries again.
Trait Implementations§
Source§impl Clone for ConnectivityState
impl Clone for ConnectivityState
Source§fn clone(&self) -> ConnectivityState
fn clone(&self) -> ConnectivityState
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 ConnectivityState
Source§impl Debug for ConnectivityState
impl Debug for ConnectivityState
impl Eq for ConnectivityState
Source§impl PartialEq for ConnectivityState
impl PartialEq for ConnectivityState
impl StructuralPartialEq for ConnectivityState
Auto Trait Implementations§
impl Freeze for ConnectivityState
impl RefUnwindSafe for ConnectivityState
impl Send for ConnectivityState
impl Sync for ConnectivityState
impl Unpin for ConnectivityState
impl UnsafeUnpin for ConnectivityState
impl UnwindSafe for ConnectivityState
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