pub enum MaterializeError {
InvalidDestination,
UnrepresentableName,
MissingPath,
InvalidPath,
UnsupportedKind(FileKind),
UnsupportedMetadata(&'static str),
InvalidOptions,
OverlappingPaths,
Engine(String),
Io(Error),
Work(WorkError),
}Expand description
Fail-closed explicit materialization errors.
Variants§
InvalidDestination
Destination is absent, non-directory, a symlink, or non-empty.
UnrepresentableName
A canonical name cannot be represented exactly on this host.
MissingPath
The requested authenticated path is absent from the checkout.
InvalidPath
Host path is empty, absolute, escapes the root, or cannot be encoded.
UnsupportedKind(FileKind)
This host adapter cannot recreate the authenticated kind exactly.
UnsupportedMetadata(&'static str)
This host adapter cannot reproduce an authenticated metadata field.
InvalidOptions
Supplied operation bounds are zero or exceed native addressability.
OverlappingPaths
Selected paths overlap, so pathwise staging would be order-dependent.
Engine(String)
Canonical engine operation failed.
Io(Error)
Host filesystem operation failed.
Work(WorkError)
Exact work overflowed or exceeded the admitted budget.
Trait Implementations§
Source§impl Debug for MaterializeError
impl Debug for MaterializeError
Source§impl Display for MaterializeError
impl Display for MaterializeError
Source§impl Error for MaterializeError
impl Error for MaterializeError
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 MaterializeError
impl From<Error> for MaterializeError
Auto Trait Implementations§
impl !RefUnwindSafe for MaterializeError
impl !UnwindSafe for MaterializeError
impl Freeze for MaterializeError
impl Send for MaterializeError
impl Sync for MaterializeError
impl Unpin for MaterializeError
impl UnsafeUnpin for MaterializeError
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