#[non_exhaustive]pub enum ProxyEvent {
Connecting {
mount: MountId,
attempt: u32,
},
Streaming {
mount: MountId,
},
Backoff {
mount: MountId,
attempt: u32,
delay: Duration,
},
Failed {
mount: MountId,
code: ErrorCode,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ProxyEvent
impl Clone for ProxyEvent
Auto Trait Implementations§
impl Forget for ProxyEvent
impl Freeze for ProxyEvent
impl Move for ProxyEvent
impl RefUnwindSafe for ProxyEvent
impl Send for ProxyEvent
impl Sync for ProxyEvent
impl Unpin for ProxyEvent
impl UnsafeUnpin for ProxyEvent
impl UnwindSafe for ProxyEvent
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