pub enum NativeTreeMaterializationError {
InvalidLayout,
MissingTarget(String),
ExternalMutation(String),
MissingPreimage(String),
InvalidPreimage,
UnexpectedBackup(String),
UnsupportedRename,
Io(Error),
InvalidPath(String),
OverlappingPaths,
}Expand description
Native tree publication failure.
Variants§
InvalidLayout
Root, target, or backup layout is not same-root and operation-scoped.
MissingTarget(String)
The exact target binding disappeared before application.
ExternalMutation(String)
A physical endpoint changed after its durable witness was captured.
MissingPreimage(String)
A durable preimage references a missing backup binding.
InvalidPreimage
Persisted preimage bytes are malformed.
UnexpectedBackup(String)
A backup exists before its operation journal has been created.
UnsupportedRename
Native path exchange does not yet expose a rename edit directly.
Io(Error)
Native filesystem operation failed.
InvalidPath(String)
A changed namespace path cannot be represented by this host publisher.
OverlappingPaths
Changed paths overlap and cannot be exchanged independently.
Trait Implementations§
Source§impl Error for NativeTreeMaterializationError
impl Error for NativeTreeMaterializationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for NativeTreeMaterializationError
impl From<Error> for NativeTreeMaterializationError
Source§impl From<NativeTreeMaterializationError> for NativeWorkspacePublicationError
impl From<NativeTreeMaterializationError> for NativeWorkspacePublicationError
Source§fn from(source: NativeTreeMaterializationError) -> Self
fn from(source: NativeTreeMaterializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NativeTreeMaterializationError
impl !UnwindSafe for NativeTreeMaterializationError
impl Freeze for NativeTreeMaterializationError
impl Send for NativeTreeMaterializationError
impl Sync for NativeTreeMaterializationError
impl Unpin for NativeTreeMaterializationError
impl UnsafeUnpin for NativeTreeMaterializationError
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> 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