Enum bitcoincore_rpc::Auth
source · pub enum Auth {
None,
UserPass(String, String),
CookieFile(PathBuf),
}
Expand description
The different authentication methods for the client.
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Auth
impl Ord for Auth
source§impl PartialEq for Auth
impl PartialEq for Auth
source§impl PartialOrd for Auth
impl PartialOrd for Auth
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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