// Copyright 2024 - Nym Technologies SA // SPDX-License-Identifier: Apache-2.0 // See other comments for other TaskStatus message enumds about abusing the Error trait when we // should have a new trait for TaskStatus messages #[derive(Debug, thiserror::Error)] pub enum BandwidthStatusMessage { #[error("remaining bandwidth: {0}")] RemainingBandwidth(i64), #[error("no bandwidth left")] NoBandwidth, }