pub enum RemoteError {
Show 50 variants
Io(Error),
Reqwest(Error),
Thrussh(Error),
ThrusshKeys(Error),
SerdeJson(Error),
FromUtf8(FromUtf8Error),
Utf8(Utf8Error),
Sanakirja(SanakirjaError),
SmallString(Error),
HashPrefix(HashPrefixError<SanakirjaError>),
TxnSanakirja(TxnErr<SanakirjaError>),
TreeSanakirja(TreeErr<SanakirjaError>),
Config(ConfigError),
Identity(IdentityError),
Repository(RepositoryError),
CoreRemote(RemoteError),
Url(ParseError),
JoinError(JoinError),
Interaction(InteractionError),
ChangeFile(ChangeError),
Filesystem(Error),
Concurrency,
DependencyMissing {
hash: Hash,
},
ChangeAlreadyOnChannel {
hash: Hash,
},
InvalidChange,
Corruption,
Local(<LocalTxn as GraphTxnT>::GraphError),
LocalTxn(TxnErr<<LocalTxn as GraphTxnT>::GraphError>),
Apply(ApplyError<Error, LocalTxn>),
RemoteNotFound(String),
AmbiguousPath(String),
UnsupportedScheme(String),
ChannelNotFound,
LocalChannelNotFound(String, String),
StateNotFound(Merkle),
TagNotInChannel {
tag: Merkle,
},
SshAuthFailed,
RemoteExited(u32),
HttpError(StatusCode),
HttpServerError(String),
HttpNotFound(String),
TagAlreadyDownloaded(Merkle),
ProtocolError,
SshRemoteError(String),
InvalidRepositoryName,
NoPathParent,
ChannelClosed,
UnsupportedOperation(&'static str),
RemoteSentAnError,
RemoteError(String),
}Variants§
Io(Error)
Reqwest(Error)
Thrussh(Error)
ThrusshKeys(Error)
SerdeJson(Error)
FromUtf8(FromUtf8Error)
Utf8(Utf8Error)
Sanakirja(SanakirjaError)
SmallString(Error)
HashPrefix(HashPrefixError<SanakirjaError>)
TxnSanakirja(TxnErr<SanakirjaError>)
TreeSanakirja(TreeErr<SanakirjaError>)
Config(ConfigError)
Identity(IdentityError)
Repository(RepositoryError)
CoreRemote(RemoteError)
Url(ParseError)
JoinError(JoinError)
Interaction(InteractionError)
ChangeFile(ChangeError)
Filesystem(Error)
Concurrency
DependencyMissing
ChangeAlreadyOnChannel
InvalidChange
Corruption
Local(<LocalTxn as GraphTxnT>::GraphError)
LocalTxn(TxnErr<<LocalTxn as GraphTxnT>::GraphError>)
Apply(ApplyError<Error, LocalTxn>)
RemoteNotFound(String)
AmbiguousPath(String)
UnsupportedScheme(String)
ChannelNotFound
LocalChannelNotFound(String, String)
StateNotFound(Merkle)
TagNotInChannel
Fields
§
tag: MerkleSshAuthFailed
RemoteExited(u32)
HttpError(StatusCode)
HttpServerError(String)
HttpNotFound(String)
TagAlreadyDownloaded(Merkle)
ProtocolError
SshRemoteError(String)
InvalidRepositoryName
NoPathParent
ChannelClosed
UnsupportedOperation(&'static str)
RemoteSentAnError
RemoteError(String)
Trait Implementations§
Source§impl Debug for RemoteError
impl Debug for RemoteError
Source§impl Display for RemoteError
impl Display for RemoteError
Source§impl Error for RemoteError
impl Error for RemoteError
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<ApplyError<Error, GenericTxn<MutTxn<Arc<Env>>>>> for RemoteError
impl From<ApplyError<Error, GenericTxn<MutTxn<Arc<Env>>>>> for RemoteError
Source§impl From<ChangeError> for RemoteError
impl From<ChangeError> for RemoteError
Source§fn from(source: ChangeError) -> Self
fn from(source: ChangeError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for RemoteError
impl From<ConfigError> for RemoteError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<Error> for RemoteError
impl From<Error> for RemoteError
Source§impl From<FromUtf8Error> for RemoteError
impl From<FromUtf8Error> for RemoteError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<HashPrefixError<SanakirjaError>> for RemoteError
impl From<HashPrefixError<SanakirjaError>> for RemoteError
Source§fn from(source: HashPrefixError<SanakirjaError>) -> Self
fn from(source: HashPrefixError<SanakirjaError>) -> Self
Converts to this type from the input type.
Source§impl From<IdentityError> for RemoteError
impl From<IdentityError> for RemoteError
Source§fn from(source: IdentityError) -> Self
fn from(source: IdentityError) -> Self
Converts to this type from the input type.
Source§impl From<InteractionError> for RemoteError
impl From<InteractionError> for RemoteError
Source§fn from(source: InteractionError) -> Self
fn from(source: InteractionError) -> Self
Converts to this type from the input type.
Source§impl From<JoinError> for RemoteError
impl From<JoinError> for RemoteError
Source§impl From<ParseError> for RemoteError
impl From<ParseError> for RemoteError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl<T: GraphTxnT + TreeTxnT> From<RemoteError> for Error<T>
impl<T: GraphTxnT + TreeTxnT> From<RemoteError> for Error<T>
Source§fn from(source: RemoteError) -> Self
fn from(source: RemoteError) -> Self
Converts to this type from the input type.
Source§impl From<RemoteError> for RemoteError
impl From<RemoteError> for RemoteError
Source§fn from(source: RemoteError) -> Self
fn from(source: RemoteError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for RemoteError
impl From<RepositoryError> for RemoteError
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<SanakirjaError> for RemoteError
impl From<SanakirjaError> for RemoteError
Source§fn from(source: SanakirjaError) -> Self
fn from(source: SanakirjaError) -> Self
Converts to this type from the input type.
Source§impl From<TreeErr<SanakirjaError>> for RemoteError
impl From<TreeErr<SanakirjaError>> for RemoteError
Source§fn from(source: TreeErr<SanakirjaError>) -> Self
fn from(source: TreeErr<SanakirjaError>) -> Self
Converts to this type from the input type.
Source§impl From<TxnErr<SanakirjaError>> for RemoteError
impl From<TxnErr<SanakirjaError>> for RemoteError
Source§fn from(source: TxnErr<SanakirjaError>) -> Self
fn from(source: TxnErr<SanakirjaError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteError
impl !UnwindSafe for RemoteError
impl Freeze for RemoteError
impl Send for RemoteError
impl Sync for RemoteError
impl Unpin for RemoteError
impl UnsafeUnpin for RemoteError
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