Enum hotdrink_rs::builders::method_builder::MutabilityMismatch [−][src]
pub enum MutabilityMismatch { ExpectedImmutableGotMutable, ExpectedMutableGotImmutable, }
The mutability of the argument did not match the mutability that the method expected.
Variants
Expected an immutable reference, but got a mutable one.
Expected a mutable reference, but got an immutable one.
Trait Implementations
impl Clone for MutabilityMismatch
[src]
impl Clone for MutabilityMismatch
[src]fn clone(&self) -> MutabilityMismatch
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MutabilityMismatch
[src]
impl Copy for MutabilityMismatch
[src]impl Eq for MutabilityMismatch
[src]
impl Eq for MutabilityMismatch
[src]impl From<MutabilityMismatch> for MethodFailure
[src]
impl From<MutabilityMismatch> for MethodFailure
[src]fn from(mm: MutabilityMismatch) -> Self
[src]
impl StructuralEq for MutabilityMismatch
[src]
impl StructuralEq for MutabilityMismatch
[src]Auto Trait Implementations
impl RefUnwindSafe for MutabilityMismatch
impl RefUnwindSafe for MutabilityMismatch
impl Send for MutabilityMismatch
impl Send for MutabilityMismatch
impl Sync for MutabilityMismatch
impl Sync for MutabilityMismatch
impl Unpin for MutabilityMismatch
impl Unpin for MutabilityMismatch
impl UnwindSafe for MutabilityMismatch
impl UnwindSafe for MutabilityMismatch