pub enum RedactCommands {
Apply(RedactApplyArgs),
List(RedactListArgs),
Show(RedactShowArgs),
Trust(RedactTrustCommands),
Purge(PurgeCommands),
}Variants§
Apply(RedactApplyArgs)
Declare a redaction on a blob in a state. The blob bytes stay
on disk; reads return the stub. Use heddle redact purge afterward
to physically remove the bytes.
List(RedactListArgs)
List every active redaction in the repo.
Show(RedactShowArgs)
Show a single redaction by its content-addressed id.
Trust(RedactTrustCommands)
Manage the list of operator public keys whose signed redactions this repo accepts over the wire.
accept_wire_redactions is fail-closed: an empty trust list
rejects every signed redaction. Operators run heddle redact trust add to authorize a key for cross-replica propagation.
Signing alone proves who declared the redaction; the trust
list proves the receiver has authorized that operator to act
on this workspace.
Purge(PurgeCommands)
Physically remove bytes for an existing redaction.
Trait Implementations§
Source§impl Clone for RedactCommands
impl Clone for RedactCommands
Source§fn clone(&self) -> RedactCommands
fn clone(&self) -> RedactCommands
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 moreSource§impl Debug for RedactCommands
impl Debug for RedactCommands
Source§impl FromArgMatches for RedactCommands
impl FromArgMatches for RedactCommands
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<RedactCommands, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<RedactCommands, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<RedactCommands, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<RedactCommands, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for RedactCommands
impl Subcommand for RedactCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for RedactCommands
impl RefUnwindSafe for RedactCommands
impl Send for RedactCommands
impl Sync for RedactCommands
impl Unpin for RedactCommands
impl UnsafeUnpin for RedactCommands
impl UnwindSafe for RedactCommands
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Wrap the input message
T in a tonic::Request