-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Definition transformations WIP
1 parent
e4bc12a
commit 40d6349
Showing
6 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use rabbitmq_http_client::blocking::Error; | ||
use rabbitmq_http_client::responses::DefinitionSet; | ||
|
||
pub type Result<T> = std::result::Result<T, Error>; | ||
|
||
|
||
|
||
pub trait Tranformation { | ||
fn transform(&self: Self, &defs: &mut DefinitionSet) -> Result<&DefinitionSet>; | ||
} | ||
|
||
pub struct RemoveClassicQueueMirroringTransformation<'a> { | ||
pub definition_set: &'a DefinitionSet | ||
} | ||
|
||
impl Tranformation for RemoveClassicQueueMirroringTransformation { | ||
fn transform(defs: &mut DefinitionSet) -> Result<&DefinitionSet> { | ||
todo!() | ||
} | ||
} |